Re: E_ALL | E_STRICT

From: Date: Fri, 25 Aug 2006 14:43:51 +0000
Subject: Re: E_ALL | E_STRICT
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-241115@lists.php.net to get a copy of this message
At 4:20 PM +0200 8/25/06, Jochem Maas wrote:
It isn't redundant :) - E_STRICT isn't covered under E_ALL in PHP5 IIRC. correct. E_STRICT is supposed to be used *only* to flag not recommended code (i.e. a pedantic mode) unfortunately use of E_STRICT has been 'abused' in cases where E_DEPRECIATED should have been used (i.e. for code that will stop working in the future rather than for code which the developers think is not proper) of course it doesn't help that there is no such thing as 'E_DEPRECIATED' (yet?)
Jochem: So, what's the verdict, is this Okay:
    ini_set('error_reporting', E_ALL | E_STRICT);
or should I lose the E_STRICT, or should it be something else? I want to turn as much error checking as I can. I'm not using php 5, just yet. Thanks. tedd -- ------- http://sperling.com http://ancientstones.com http://earthstones.com

« previous php.general (#241115) next »