]> 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:37:27 +0000 (14:37 +0000)
committerKalle Sommer Nielsen <kalle@php.net>
Thu, 12 Feb 2009 14:37:27 +0000 (14:37 +0000)
php.ini-dist
php.ini-recommended

index 8b7e434148095845a47a9eee464d660c9e15376c..73c76678b2770bbc79845865a9b5e3f71d18c65f 100644 (file)
@@ -290,11 +290,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
 ;
@@ -302,7 +302,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 1ce5c2d98e498d4f2472c16a8fce56e0ce495a5e..bdb38383cdf86e2e032c013dd8ecc55031b5b0a6 100644 (file)
@@ -339,11 +339,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
 ;