Re: Intercepting errors

From: Date: Thu, 13 Mar 2008 14:36:20 +0000
Subject: Re: Intercepting errors
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-271488@lists.php.net to get a copy of this message
Now i know how to create errors with trigger_error, but i am wondering how can I make my error handling class intercept any kind of error although i'm not aware about it and i don't know if it will happen. Is this possible?
You could use set_error_handler(): http://uk.php.net/manual/en/function.set-error-handler.php -- Richard Heyes Employ me: http://www.phpguru.org/cv

« previous php.general (#271488) next »