On 04.06.2010, at 03:18, Daniel Convissor wrote:

> On Thu, Jun 03, 2010 at 10:29:30AM -0400, Daniel Convissor wrote:
>> Hi Folks:
>> 
>> On Sat, May 29, 2010 at 08:34:26PM +0300, Zeev Suraski wrote:
>>> 
>>> IMHO we shouldn't be getting to any kind of fatal error/exception  
>>> situation, which is why I like the idea of auto-conversion plus E_STRICT 
>>> in the 'weird conversion' scenarios
>> 
>> E_STRICT doesn't cut it.
> 
> And another reason E_STRICT won't serve this situation well: how are 
> userland error handlers supposed to pick out the type hinting conversion 
> problems from all of the other bazillion E_STRICT errors that come up?  
> Not very efficient.


Same deal as E_NOTICE. Either you care about them or you dont. Anyway, in my 
weak typing proposal I also made an optional variant to get an E_FATAL instead 
of E_STRICT, though I personally do not see the need for it.

regards,
Lukas Kahwe Smith
m...@pooteeweet.org




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

Reply via email to