I think maybe ^ has different meaning in a php.ini file, from in a PHP
script...

Try  (E_ALL & ~E_NOTICE)

http://www.php.net/manual/en/language.operators.bitwise.php

--
Visit the Zend Store at http://www.zend.com/store/
Wanna help me out?  Like Music?  Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
----- Original Message -----
From: "Securez" <[EMAIL PROTECTED]>
Newsgroups: php.general
Sent: Monday, February 19, 2001 6:02 AM
Subject: [PHP] Problems with error handling.


> 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
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to