From: Stanislav Malyshev Date: Sun, 24 Jul 2011 05:42:29 +0000 (+0000) Subject: No E_STRICT in production X-Git-Tag: php-5.4.0alpha3~75 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=24392c37d9f607105546050f2aa09c25ad3d12bc;p=php No E_STRICT in production --- 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