TysonAndre / phan

Phan is a static analyzer for PHP. Phan prefers to avoid false-positives and attempts to prove incorrectness rather than correctness.
Other
0 stars 0 forks source link

Remove unnecessary uses of `implode()` #137

Closed TysonAndre closed 6 years ago

TysonAndre commented 6 years ago

$x .= $str is efficient and doesn't require creating a temporary array. PHP can efficiently append if there aren't any other references to that string