From:             wieza at terramail dot pl
Operating system: Fedora
PHP version:      5.1.6
PHP Bug Type:     Output Control
Bug description:  Displaying Notices despite E_ALL & ~E_NOTICE

Description:
------------
In php.ini I have
error_reporting = E_ALL & ~E_NOTICE

So according to php.ini manual it shouldn't display notices. Especially as
in php.ini display_errors is Off and log to file is on. But when I am on my
site sometimes there are displayed Notices(only notices, errors and warning
are logged to file ). I wrote sometimes, because I never know wheter
Notices will be displayed. I can open the same site 10 times, and
sometimes there is Notice, sometimes there isn't.

I've tried to set in php.ini error_reporting others values(even 0) and the
problem is still appearing.

When in php code i call error_reporting(E_ALL ^ E_NOTICE), the problem is
solved and notices don't appear.

I have PHP 5.1.6 on lighttpd server.



-- 
Edit bug report at http://bugs.php.net/?id=38887&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=38887&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=38887&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=38887&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=38887&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=38887&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=38887&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=38887&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=38887&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=38887&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=38887&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=38887&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=38887&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=38887&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=38887&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=38887&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=38887&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=38887&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=38887&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=38887&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=38887&r=mysqlcfg

Reply via email to