Problems with error handling.
| From: | Securez | Date: | Mon, 19 Feb 2001 12:08:30 +0000 |
| Subject: | Problems with error handling. | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-40558@lists.php.net to get a copy of this message | ||
When I change the error handler, i set the error_reporting to:
error_reporting ( E_ALL ^ E_NOTICE);
but when i call a is_file function that return false a E_NOTICE error is
generated and my error handle trap it.
I know that error_reporting works, becouse if i set it to 0, the parse
errors aren't printed, but E_NOTICE stat failed appears when a is_file,
is_dir function return false.
Can anybody help me on this