Bert Slagter wrote:
Hi,
I tried to use my own error handler to handle all non-fatal errors. But to my surprise it seems to be impossible to handle E_STRICT level notices. I don't know whether this is by design, not yet implemented or a know bug that I overlooked - but it seems rather strange :).
To reproduce: - create your own error handler - set error_reporting to 0
If you set error_reporting to 0, then why should you expect to have any errors reported? You'd need error_reporting(2048) to just see those errors (assuming you're using PHP5).
http://www.php.net/errorfunc
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php