Re: E_ALL | E_STRICT

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux