]> granicus.if.org Git - php/commitdiff
Update php.ini-* with E_STRICT error reporting level. -dist excludes E_STRICT, ...
authorSara Golemon <pollita@php.net>
Sat, 29 Nov 2003 02:49:57 +0000 (02:49 +0000)
committerSara Golemon <pollita@php.net>
Sat, 29 Nov 2003 02:49:57 +0000 (02:49 +0000)
php.ini-dist
php.ini-recommended

index 49ab912533d621cd870a3a4a5e861c64b81236e4..e3a9fc83ac6a8439d5f89db8b767f6063dad9782 100644 (file)
@@ -246,6 +246,9 @@ memory_limit = 8M      ; Maximum amount of memory a script may consume (8MB)
 ;                     intentional (e.g., using an uninitialized variable and
 ;                     relying on the fact it's automatically initialized to an
 ;                     empty string)
+; E_STRICT                     - run-time notices, enable to have PHP suggest changes
+;                     to your code which will ensure the best interoperability
+;                     and forward compatability of your code
 ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
 ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
 ;                     initial startup
@@ -265,9 +268,9 @@ memory_limit = 8M      ; Maximum amount of memory a script may consume (8MB)
 ;
 ;error_reporting = E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR
 ;
-;   - Show all errors except for notices
+;   - Show all errors except for notices and coding standards warnings
 ;
-error_reporting  =  E_ALL & ~E_NOTICE
+error_reporting  =  E_ALL & ~E_NOTICE & ~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 5c7446cfbd9ff9fdca74480c0dbea58481e1f0ed..bcf28c248ce649c19509bb3e782b52194e096ae6 100644 (file)
@@ -261,6 +261,9 @@ memory_limit = 8M      ; Maximum amount of memory a script may consume (8MB)
 ;                     intentional (e.g., using an uninitialized variable and
 ;                     relying on the fact it's automatically initialized to an
 ;                     empty string)
+; E_STRICT          - run-time notices, enable to have PHP suggest changes
+;                     to your code which will ensure the best interoperability
+;                     and forward compatability of your code
 ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
 ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
 ;                     initial startup
@@ -272,6 +275,10 @@ memory_limit = 8M      ; Maximum amount of memory a script may consume (8MB)
 ;
 ; Examples:
 ;
+;   - Show all errors, except for notices and coding standards warnings
+;
+;error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT
+;
 ;   - Show all errors, except for notices
 ;
 ;error_reporting = E_ALL & ~E_NOTICE