Re: Error Handler

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux