Re: Re: Errors, Exceptions et al

From: Date: Wed, 30 Dec 2009 16:10:44 +0000
Subject: Re: Re: Errors, Exceptions et al
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-46572@lists.php.net to get a copy of this message
Hans-Peter Oeri wrote: > Hi! > > Christian Schneider wrote: > >> leads to another inconsistency: Depending on the hosting provider and/or >> frameworks/modules used you'd have to write different error handlers. > > I understand there are widely differing applications for php, that's why > I think backwards-compatibility and common defaults across installations > is a must. Changing defaults system-wide is always risky. In a > shared-hosting situation, the proposed error defaults *must not* be > changed, of course. 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. You can have all the "MUST not" things in the documentation that you want, nobody cares. If there is a shiny button to press, they will press it. As soon as you make this configurable, everyone is going to configure it differently almost instantly. -Rasmus

« previous php.internals (#46572) next »