note 8866 modified in error_reporting by zak
| From: | zak@php.net | Date: | Fri, 22 Dec 2000 04:18:05 +0000 |
| Subject: | note 8866 modified in error_reporting by zak | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-9018@lists.php.net to get a copy of this message | ||
error_reporting() has no effect if you have defined your own error handler with set_error_handler()
[Editor's Note: This is not quite accurate.
When using a custom error handler, suppressing the E_USER_xxx error levels will have no effect -
calls will still be made to the custom error handler when these errors are triggered.
E_NOTICE, E_WARNING and E_ERROR warnings will be suppressed entirely, regardless of the error
reporting level until the default PHP error handler is restored.
Every other level of error reporting will function normally.
-zak@php.net]
http://www.php.net/manual/function.error-reporting.php