note 9285 added to set_error_handler
| From: | david@php.net | Date: | Thu, 26 Oct 2000 03:53:07 +0000 |
| Subject: | note 9285 added to set_error_handler | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-6996@lists.php.net to get a copy of this message | ||
It is your responsibility to die() if necessary in the error handler, else execution will continue.
error_reporting setting has no effect on the error_handler, which receives all kinds of error
anyway.
Prepending @ to a function call will normally prevent PHP from printing errors to the screen,
however it does not prevent your error_reporting function being called.
http://www.php.net/manual/function.set-error-handler.php