PHP 7 Roundup – implicit ‘array to string’ conversion

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:

It will now look like this in PHP 7:  Catchable fatal error: Array to string conversion

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *