chris smith wrote:
What does your code look like?
I just realized that when called a second time, set_error_handler() returns my custom error handler but it is never triggered.
Code looks like this: <?php if (set_error_handler('core_error_handler', E_ALL) === NULL) echo 'could not set error handler<br />'; trigger_error('test error'); var_dump(set_error_handler('core_error_handler', E_ALL)); function core_error_handler($errno, $errstr, $errfile, $errline) { echo 'error...'; } ?> This gives me the following output: could not set error handler Notice: test error in /var/www/.../core.inc.php on line 5 core_error_handler -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php