 |
PHP: set_error_handler - Manual - PHP: Hypertext Preprocessor
Sometimes, you want to "catch" only some errors, and let the default handler deal with the result. I just found out that (at least in PHP 5), the default handler will be called if you return false (not 0 or NULL or '', but false) from your custom handler.
php.net |
 |