hi Alan!

On a server you are supposed to use logs, not to display errors.

Also if one does not like the default, he can always set  the error
reporting using what he likes to, per directory or globally.

I see no reason to do revert what is actually a good thing. All means
all, not all but this and that.

Cheers,

On Tue, Mar 6, 2012 at 5:08 PM, Alan Knowles <a...@akbkhome.com> wrote:
> I just got caught on a production server with the 5.4 upgrade on debian,
> pretty much everything works fine, except the E_ALL change.
>
> I have to admit I missed the discussion where it was added, and searching
> for E_ALL or E_STRICT on marc is pretty difficult (it removes the E_ bit..)
>
> Anyway, this change is a bit of an bomb on the code on the first server to
> get hit with this, While i've never cared for E_STRICT (it's more like
> E_ANAL) - most of the warnings are pointless code tidy up's that only have
> pretty much zero cost/return in fixing.
>
> However, this change really kills code written by third parties, All our
> servers run with E_ALL on (eg. E_NOTICE is printed to end users) and we fix
> instantly any errors that the end users see, as they are frequently issues
> that should have been addressed. These applications are intra/extranet apps,
> not public websites.
>
> However with E_STRICT included we have to run around and find all the code,
> and change it to stuff like this:
>
> error_reporting(E_ALL & E_STRICT ? E_ALL ^ E_STRICT : E_ALL);
>
> Could we please revert that, and if people want an all encompasing error
> mode, call it E_ANAL, like it was supposed to be...
>
> Regards
> Alan
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>



-- 
Pierre

@pierrejoye | http://blog.thepimp.net | http://www.libgd.org

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

Reply via email to