Re: E_ALL | E_STRICT

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

 



tedd wrote:

- tul

P.S. isn't error_reporting( FATAL | ERROR | WARNING ); supposed to be error_reporting( E_FATAL | E_ERROR | E_WARNING ); ??



Good catch.

I'm not sure where I got that -- probably a message from some flounder (Bullwinkle circa 1964).

In my newer scripts I use:

ini_set('error_reporting', E_ALL | E_STRICT);

However, I'm not sure if that's redundant.

tedd
It isn't redundant :) - E_STRICT isn't covered under E_ALL in PHP5 IIRC.

--

life is a game... so have fun.

-- 
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