2011/6/2 Patrick ALLAERT <patrickalla...@php.net>:
> Hi,
>
> I would like to introduce an E_NOTICE when an array is silently
> converted to a string.
> This isn't very useful as it constantly produces the following string:
> "Array" and in most of the case, this is a sign of an error.
>
> Let me know about your feelings.
>
> Patch implementing that behavior change: https://gist.github.com/1004203
> Patch to adapt the tests: https://gist.github.com/1004204
>
> Cheers,
> Patrick

Final patch to be committed is at: https://gist.github.com/1036136 (git diff)
Please, apply it on trunk or increase my karma to do it (Access
denied: Insufficient karma for patrickallaert to
php/php-src/trunk/Zend/zend.c.), thanks.

@Stas, DSP
Would you agree to merge this into PHP 5.4?

Thanks in advance,
Patrick

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to