From: "Stuart" <[EMAIL PROTECTED]>

> I have a custom error handler class that's working well. My problem is
> that I can't find a way to find out whether a particular error has been
> suppressed using the @ prefix. Is there a way to do this with a custom
> handler?

Next time start here
http://us2.php.net/manual/en/function.set-error-handler.php
and read everything.

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.
-----

---John Holmes...

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to