summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--php.ini-dist6
-rw-r--r--php.ini-recommended6
2 files changed, 6 insertions, 6 deletions
diff --git a/php.ini-dist b/php.ini-dist
index 193673226e..f1a940a369 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 d632a9105b..e12060e3ec 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
;
@@ -363,7 +363,7 @@ memory_limit = 128M ; Maximum amount of memory a script may consume (128MB)
;
; - Show all errors, except coding standards warnings
;
-error_reporting = E_ALL
+error_reporting = E_ALL
; 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