Bug #61788 [Opn->Nab]: error_reporting expression sequence problem
Edit report at https://bugs.php.net/bug.php?id=61788&edit=1
ID: 61788
Updated by: laruence@php.net
Reported by: wangrj at infobird dot com
Summary: error_reporting expression sequence problem
-Status: Open
+Status: Not a bug
Type: Bug
Package: *Configuration Issues
Operating System: CentOS 5.4
PHP Version: 5.3.10
Block user comment: N
Private report: N
New Comment:
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
~E-NOTICE => ~intval(E-NOTICE) => ~0 => -1
Previous Comments:
------------------------------------------------------------------------
[2012-04-20 14:51:54] wangrj at infobird dot com
error_reporting = E_ALL & ~E-NOTICE & ~E_DEPRECATED does not take effect means
still reporting notice and deprecated errors
------------------------------------------------------------------------
[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
Thread (4 messages)