Re: set_error_handler() fails

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

 



On Thu, May 4, 2006 4:19 pm, icy wrote:
> I use set_error_handler() in my script but it fails and returns NULL
> indicating an error has happened.
> But there are no entries in error.log ore something similar.
> How can I find out what actually went wrong?

It's possible that you have mistaken whatever set_error_handler
returns for "no previous error handler" for NULL...

Are you using === NULL or is_null() to test?

If not, I suspect it's really returning FALSE or '' and what you think
is an error condition is, in fact, not an error condition at all.

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