2011/6/2 Brian Moon <br...@moonspot.net>:
>> I like this for the current stable branch, no bc impact and gives a
>> way to detect such mistakes (not ideal but better than nothing).
>>
>> On Thu, Jun 2, 2011 at 12:11 PM, Patrick ALLAERT<patrickalla...@php.net>
>>  wrote:
>>>
>>> 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.
>
> I agree with Peirre and would actually support this as an E_WARNING. Since
> there is a patch for E_NOTICE already, I will take it.

I am going to commit this after the WE to let the chance to other
people to comment on.

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

Reply via email to