On Mon, 24 Aug 2009, Rasmus Lerdorf wrote:

> Lukas Kahwe Smith wrote:
> > 
> > anyways to me both E_STRICT and E_DEPRECATED are development tools that
> > can be totally ignored in production. however E_NOTICE should not occur
> > in production and we shouldnt encourage people to make them disappear
> > entirely.
> 
> Lukas, the problem is that all messages, E_STRICT, E_DEPRECATED,
> E_NOTICE, whatever, all cause a performance hit even if the
> error_reporting level is such that they will never show up anywhere.
> That's what this patch is trying to address.  To write optimal code,
> they have to be entirely clean of all messages including E_DEPRECATED
> and E_STRICT.

And how exactly is that a problem? Sure, there are some cases where PHP 
functions are too noisy, but that should be addressed instead.

regards,
Derick

-- 
http://derickrethans.nl | http://ezcomponents.org | http://xdebug.org
twitter: @derickr

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

Reply via email to