Re: [patch] error masks

From: Date: Tue, 25 Aug 2009 12:52:43 +0000
Subject: Re: [patch] error masks
References: 1 2 3 4 5 6 7 8 9 10 11 12 13  Groups: php.internals 
Request: Send a blank email to internals+get-45393@lists.php.net to get a copy of this message
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

« previous php.internals (#45393) next »