]> granicus.if.org Git - php/commitdiff
- Fixed error levels
authorFelipe Pena <felipe@php.net>
Sun, 3 Aug 2008 17:19:24 +0000 (17:19 +0000)
committerFelipe Pena <felipe@php.net>
Sun, 3 Aug 2008 17:19:24 +0000 (17:19 +0000)
php.ini-dist
php.ini-recommended

index 752d090ac36c310ff123bcd9e5171a54e50f960e..5cb375e1b3dc5a7e1c82ff2af1d7130572fc7fbf 100644 (file)
@@ -251,19 +251,19 @@ memory_limit = 128M      ; Maximum amount of memory a script may consume (128M)
 ;
 ;   - Show all errors, except for notices and coding standards warnings
 ;
-;error_reporting = E_ALL & ~E_NOTICE
+;error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT
 ;
 ;   - Show all errors, except for notices
 ;
-;error_reporting = E_ALL & ~E_NOTICE | E_STRICT
+;error_reporting = E_ALL & ~E_NOTICE
 ;
 ;   - Show only errors
 ;
 ;error_reporting = E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR
 ;
-;   - Show all errors except for notices and coding standards warnings
+;   - Show all errors, except coding standards warnings
 ;
-error_reporting  =  E_ALL & ~E_NOTICE
+error_reporting  =  E_ALL & ~E_STRICT
 
 ; 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 3edb39f57dec7297219fa0f248adcd65c30230b5..fa9f6424bd56fd61d27418995b81dd98120cad48 100644 (file)
@@ -288,11 +288,11 @@ memory_limit = 128M      ; Maximum amount of memory a script may consume (128M)
 ;
 ;   - Show all errors, except for notices and coding standards warnings
 ;
-;error_reporting = E_ALL & ~E_NOTICE
+;error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT
 ;
 ;   - Show all errors, except for notices
 ;
-;error_reporting = E_ALL & ~E_NOTICE | E_STRICT
+;error_reporting = E_ALL & ~E_NOTICE
 ;
 ;   - Show only errors
 ;
@@ -300,7 +300,7 @@ memory_limit = 128M      ; Maximum amount of memory a script may consume (128M)
 ;
 ;   - Show all errors, except coding standards warnings
 ;
-error_reporting  =  E_ALL
+error_reporting  =  E_ALL & ~E_STRICT
 
 ; 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