diff options
author | Kalle Sommer Nielsen <kalle@php.net> | 2009-02-12 14:36:32 +0000 |
---|---|---|
committer | Kalle Sommer Nielsen <kalle@php.net> | 2009-02-12 14:36:32 +0000 |
commit | e23ca993c763962001b493494d2b84c32a674a09 (patch) | |
tree | de8eaea85fcfee8f156f5e2fd38a9415bd1614a4 /php.ini-recommended | |
parent | 31bdcfec8f54aebf7cbd7dd602d899e7d610f3bc (diff) | |
download | php-git-e23ca993c763962001b493494d2b84c32a674a09.tar.gz |
Fixed wrong usage of error_reporting directive
Diffstat (limited to 'php.ini-recommended')
-rw-r--r-- | php.ini-recommended | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/php.ini-recommended b/php.ini-recommended index 6582dd398b..06a5bdcea5 100644 --- a/php.ini-recommended +++ b/php.ini-recommended @@ -259,7 +259,7 @@ memory_limit = 128M ; Maximum amount of memory a script may consume (128M) ; error_reporting is a bit-field. Or each number up to get desired error ; reporting level -; E_ALL - All errors and warnings (doesn't include E_STRICT) +; E_ALL - All errors and warnings (includes E_STRICT) ; E_ERROR - fatal run-time errors ; E_RECOVERABLE_ERROR - almost fatal run-time errors ; E_WARNING - run-time warnings (non-fatal errors) @@ -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 & ~E_STRICT +;error_reporting = E_ALL | ~E_NOTICE | ~E_STRICT ; ; - Show all errors, except for notices ; -;error_reporting = E_ALL & ~E_NOTICE +;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 & ~E_STRICT +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 |