Re: Re: Errors, Exceptions et al
| From: | Hans-Peter Oeri | Date: | Wed, 30 Dec 2009 18:25:06 +0000 |
| Subject: | Re: Re: Errors, Exceptions et al | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-46574@lists.php.net to get a copy of this message | ||
Hi!
Rasmus Lerdorf wrote:
> Yeah, good luck with that. We have been imploring people for 10 years
> to not have display_errors on in production with very little success.
I agree but am convinced at least part of that problem lies in the
default php.ini, which - up to 5.2 - defaulted to display_errors=on! The
average user - not configuring anything - got that default and probably
got angry about production systems yelling secrets...
> press it. As soon as you make this configurable, everyone is going to
> configure it differently almost instantly.
Configurability already crept into the main distribution - like the
veteran display_errors and error_reporting or the newer error_level in
intl. I unconditionally prefer one proper concept to uncontrolled growth
of differing options.
Regards
HPO