diff options
author | Sara Golemon <pollita@php.net> | 2003-11-29 02:49:57 +0000 |
---|---|---|
committer | Sara Golemon <pollita@php.net> | 2003-11-29 02:49:57 +0000 |
commit | ef9949ff3781a76a96de322425386b69960ea0f3 (patch) | |
tree | 5b870f7c2daa71d0b4168f161f5a98cf369864fe /php.ini-dist | |
parent | e34b689ef3eba95eb46598e0cab29a46e5ead0e0 (diff) | |
download | php-git-ef9949ff3781a76a96de322425386b69960ea0f3.tar.gz |
Update php.ini-* with E_STRICT error reporting level. -dist excludes E_STRICT, -recommended includes it.
Diffstat (limited to 'php.ini-dist')
-rw-r--r-- | php.ini-dist | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/php.ini-dist b/php.ini-dist index 49ab912533..e3a9fc83ac 100644 --- a/php.ini-dist +++ b/php.ini-dist @@ -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 |