Edit report at https://bugs.php.net/bug.php?id=61788&edit=1

 ID:                 61788
 Comment by:         wangrj at infobird dot com
 Reported by:        wangrj at infobird dot com
 Summary:            error_reporting expression sequence problem
 Status:             Open
 Type:               Bug
 Package:            *Configuration Issues
 Operating System:   CentOS 5.4
 PHP Version:        5.3.10
 Block user comment: N
 Private report:     N

 New Comment:

error_reporting = E_ALL & ~E-NOTICE & ~E_DEPRECATED does not take effect means

still reporting notice and deprecated errors


Previous Comments:
------------------------------------------------------------------------
[2012-04-20 14:36:11] wangrj at infobird dot com

Description:
------------
the error_reporting expression in php.ini has a very strange probelm

if you want to report all types of errors info except notice and deprecated

the following expression for error_reporting does not take effect: 

error_reporting = E_ALL & ~E-NOTICE & ~E_DEPRECATED

but the following is ok

error_reporting = E_ALL & ~E_DEPRECATED & ~E-NOTICE


Besides if any notice or deprecated error has generated and reported,  you got 
HTTP 500 error under nginx when display_error = off






------------------------------------------------------------------------



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=61788&edit=1

Reply via email to