Feast your eyes upon this: https://wiki.php.net/rfc/array-to-string
If you’ve been in the trenches for a long time, chances are you’ve been bitten more than enough by the implicit array to string conversion as such:
1 |
$z = [1,2,3]; echo $z; // Array |
It will now look like this in PHP 7: Catchable fatal error: Array to string conversion
No Comments on PHP 7 Roundup – implicit ‘array to string’ conversion
Categories: php programming