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

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

Reply via email to