]> granicus.if.org Git - php/commitdiff
No E_STRICT in production
authorStanislav Malyshev <stas@php.net>
Sun, 24 Jul 2011 05:42:29 +0000 (05:42 +0000)
committerStanislav Malyshev <stas@php.net>
Sun, 24 Jul 2011 05:42:29 +0000 (05:42 +0000)
UPGRADING
php.ini-development
php.ini-production

index 8978598014d955c94b928123cb56e2adc23b58bb..cc7e9bad95515f3303fba532dddca92d3617aa9f 100755 (executable)
--- 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
index 2595e1d43da8866ec1b232c908d1778fc6883aec..bbb22dd6d9e5337e5bd43e60fc140012a7ce4b0d 100644 (file)
 ; 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
 
index dd7ffe221d5fb94a326d68ccbcea3077e923e53d..8e0773ffc10769d25f0a7eeb6242667e539a6483 100644 (file)
 ; 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