Re: Error Handler

From: Date: Fri, 22 Apr 2005 22:24:21 +0000
Subject: Re: Error Handler
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-213702@lists.php.net to get a copy of this message
On Fri, April 22, 2005 3:10 pm, Pinoy Ako said: > I use the example given at > http://ph.php.net/manual/en/ref.errorfunc.php > > However, when I tried to call an undefined function, I get the normal > Fatal > Error message instead of the custom message I entered in the error handler > function. As the User Contributed notes indicate, *SOME* PHP errors simply cannot be trapped by your custom error handler. This may, or may not, be one of those cases. Is an undefined function one of the examples? If not, try one of those. Also, did you remember to call http://php.net/set_error_handler as well as to define the function? -- Like Music? http://l-i-e.com/artists.htm

« previous php.general (#213702) next »