Re: [RFC] E_DEPRECATED

From: Date: Tue, 24 Oct 2006 19:22:47 +0000
Subject: Re: [RFC] E_DEPRECATED
References: 1 2  Groups: php.internals php.internals 
Request: Send a blank email to internals+get-26236@lists.php.net to get a copy of this message
Hi,
I personally also don't see a good reason to disable E_WARNING and E_NOTICE (and possibly also E_DEPRECATED) in a production environment - you may still want to log such errors. As long as display_errors is off, it's not a problem except for the performance hit which should be low assuming you don't have too many of them.
As a system administrator, I must disagree with your opinion as most users don't care about error_log file. I have see a lot of servers with about 6GB of error_log filled with E_NOTICE AND E_WARNING. Just letting it enabled by default in production is a bad idea. Those notices should only be enabled during development since production is no more the time to do such debugging. -- Mathieu

« previous php.internals (#26236) next »