summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xUPGRADING2
-rw-r--r--php.ini-development4
-rw-r--r--php.ini-production6
3 files changed, 7 insertions, 5 deletions
diff --git a/UPGRADING b/UPGRADING
index 8978598014..cc7e9bad95 100755
--- a/UPGRADING
+++ b/UPGRADING
@@ -336,6 +336,8 @@ UPGRADE NOTES - PHP X.Y
raw POST data in multipart requests and read/process the POST data in a
stream fashion (through php://input), without having it copied in memory two/
three times.
+- Changed E_ALL to include E_STRICT. Recommended production value changed to
+ E_ALL & ~E_DEPRECATED & ~E_STRICT.
====================
12. Syntax additions
diff --git a/php.ini-development b/php.ini-development
index 2595e1d43d..bbb22dd6d9 100644
--- a/php.ini-development
+++ b/php.ini-development
@@ -104,7 +104,7 @@
; error_reporting
; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
; Development Value: E_ALL
-; Production Value: E_ALL & ~E_DEPRECATED
+; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
; html_errors
; Default Value: On
@@ -449,7 +449,7 @@ memory_limit = 128M
; E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR (Show only errors)
; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
; Development Value: E_ALL
-; Production Value: E_ALL & ~E_DEPRECATED
+; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
; http://php.net/error-reporting
error_reporting = E_ALL
diff --git a/php.ini-production b/php.ini-production
index dd7ffe221d..8e0773ffc1 100644
--- a/php.ini-production
+++ b/php.ini-production
@@ -104,7 +104,7 @@
; error_reporting
; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
; Development Value: E_ALL
-; Production Value: E_ALL & ~E_DEPRECATED
+; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
; html_errors
; Default Value: On
@@ -449,9 +449,9 @@ memory_limit = 128M
; E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR (Show only errors)
; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
; Development Value: E_ALL
-; Production Value: E_ALL & ~E_DEPRECATED
+; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
; http://php.net/error-reporting
-error_reporting = E_ALL & ~E_DEPRECATED
+error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT
; This directive controls whether or not and where PHP will output errors,
; notices and warnings too. Error output is very useful during development, but