Setting custom error_handler
| From: | Scott Cadillac | Date: | Tue, 26 Jun 2001 19:32:33 +0000 |
| Subject: | Setting custom error_handler | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-8062@lists.php.net to get a copy of this message | ||
NT 4.0 / IIS 4.0 / PHP 4.0.5
I'm new to PHP and I think it's great.
I am trying to set a custom error_handler function, but when I call:
error_reporting(0);
$old_error_handler = set_error_handler('new_error_handler');
$old_error_handler always returns FALSE.
I know my new_error_handler() function works, because I can call it directly
along with all 5 parameters.
Could be something in the php.ini file?
Any help would be appreciated
Cheers...
--
Scott Cadillac
Manager of Web Application Development
Plus International Corp.
604-942-1020 ext. 226
scott.cadillac@plusinternational.com
http://www.plusinternational.com
Does your company have an Enterprise Information Portal? Check out Salsa at
www.plusinternational.com/flash/salsa.htm
Vancouver * Victoria * Kelowna * Windsor * Chicago * Wisconsin *
Seattle * Michigan * Santa Barbara