kaisellgren
05-15-2008, 03:58 PM
Hello,
I have this:
error_reporting(E_ERROR | E_PARSE | E_NOTICE | E_WARNING | E_CORE_ERROR | E_CORE_WARNING | E_USER_ERROR | E_USER_WARNING | E_USER_NOTICE);
I want to show all errors EXCEPT E_STRICT, because my wysiwyg produces strict errors.
Since PHP 5.3 I guess, E_STRICT is part of E_ALL, and I can not type E_ALL & ~E_STRICT because in PHP 4.x it will throw an error, because PHP 4 does not know E_STRICT.
I have this:
error_reporting(E_ERROR | E_PARSE | E_NOTICE | E_WARNING | E_CORE_ERROR | E_CORE_WARNING | E_USER_ERROR | E_USER_WARNING | E_USER_NOTICE);
I want to show all errors EXCEPT E_STRICT, because my wysiwyg produces strict errors.
Since PHP 5.3 I guess, E_STRICT is part of E_ALL, and I can not type E_ALL & ~E_STRICT because in PHP 4.x it will throw an error, because PHP 4 does not know E_STRICT.