From: Kalle Sommer Nielsen Date: Thu, 12 Feb 2009 14:36:58 +0000 (+0000) Subject: MFH: Fixed wrong usage of error_reporting directive X-Git-Tag: RELEASE_1_3_5~143 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d923ea471f181464ea58d9cd5905aae0d9bca777;p=php MFH: Fixed wrong usage of error_reporting directive --- diff --git a/php.ini-dist b/php.ini-dist index 116df0e2c0..193673226e 100644 --- a/php.ini-dist +++ b/php.ini-dist @@ -301,11 +301,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 ; @@ -313,7 +313,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 diff --git a/php.ini-recommended b/php.ini-recommended index b8312913e4..d632a9105b 100644 --- a/php.ini-recommended +++ b/php.ini-recommended @@ -351,11 +351,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 ;