[EMAIL PROTECTED] wrote:
Hi there i have an error handler callback within an error class which is
also being used for pear errors. E_NOTICE and E_STRICT are still triggering
this callback method, so i have to make a check that the code is not one of
these. I have error_reporting to ignore both of these and still no luck,
any ideas ?


put this at the top of the error handling function:

if($errno == E_STRICT || $errno == E_NOTICE) return;

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



Reply via email to