Re: Custom Error Handler
| From: | Stuart | Date: | Wed, 18 Feb 2004 17:59:26 +0000 |
| Subject: | Re: Custom Error Handler | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-178149@lists.php.net to get a copy of this message | ||
John W. Holmes wrote:
You'll notice this if you do: ----- It is important to remember that the standard PHP error handler is completely bypassed. error_reporting() settings will have no effect and your error handler will be called regardless - however you are still able to read the current value of error_reporting and act appropriately. Of particular note is that this value will be 0 if the statement that caused the error was prepended by the @ error-control operator. -----Oops. Thanks John. -- Stuart