]> granicus.if.org Git - php/commitdiff
MFH: Fixed wrong usage of error_reporting directive
authorKalle Sommer Nielsen <kalle@php.net>
Thu, 12 Feb 2009 14:36:58 +0000 (14:36 +0000)
committerKalle Sommer Nielsen <kalle@php.net>
Thu, 12 Feb 2009 14:36:58 +0000 (14:36 +0000)
php.ini-dist
php.ini-recommended

index 116df0e2c0881055f4fe5806587c86f1ad351cd2..193673226e1890cf7743a7a43847837cdc3dfb7c 100644 (file)
@@ -301,11 +301,11 @@ memory_limit = 128M      ; Maximum amount of memory a script may consume (128MB)
 ;
 ;   - Show all errors, except for notices and coding standards warnings
 ;
-;error_reporting = E_ALL & ~E_NOTICE
+;error_reporting = E_ALL | ~E_NOTICE
 ;
 ;   - Show all errors, except for notices
 ;
-;error_reporting = E_ALL & ~E_NOTICE | E_STRICT
+;error_reporting = E_ALL | ~E_NOTICE | E_STRICT
 ;
 ;   - Show only errors
 ;
@@ -313,7 +313,7 @@ memory_limit = 128M      ; Maximum amount of memory a script may consume (128MB)
 ;
 ;   - Show all errors except for notices and coding standards warnings
 ;
-error_reporting  =  E_ALL & ~E_NOTICE
+error_reporting  =  E_ALL | ~E_NOTICE
 
 ; Print out errors (as a part of the output).  For production web sites,
 ; you're strongly encouraged to turn this feature off, and use error logging
index b8312913e45d1a7db0429ac460825d054fc564d9..d632a9105bb6bf994c3bb38f6d13f4c58dc4b3d1 100644 (file)
@@ -351,11 +351,11 @@ memory_limit = 128M      ; Maximum amount of memory a script may consume (128MB)
 ;
 ;   - Show all errors, except for notices and coding standards warnings
 ;
-;error_reporting = E_ALL & ~E_NOTICE
+;error_reporting = E_ALL | ~E_NOTICE
 ;
 ;   - Show all errors, except for notices
 ;
-;error_reporting = E_ALL & ~E_NOTICE | E_STRICT
+;error_reporting = E_ALL | ~E_NOTICE | E_STRICT
 ;
 ;   - Show only errors
 ;