Tales of an IT Nobody

devbox:~$ iptables -A OUTPUT -j DROP

PHP 7 Roundup – implicit ‘array to string’ conversion April 15, 2015

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

 

 

Categories: php programming

Leave a Reply

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