diff options
author | Stanislav Malyshev <stas@php.net> | 2011-07-24 05:42:29 +0000 |
---|---|---|
committer | Stanislav Malyshev <stas@php.net> | 2011-07-24 05:42:29 +0000 |
commit | 24392c37d9f607105546050f2aa09c25ad3d12bc (patch) | |
tree | fb38a3f4604d6da1fbe8c922ed0058efb8bf7c31 | |
parent | 4d926b1fa37edeca0611ba6d1af6f024dffe5a52 (diff) | |
download | php-git-24392c37d9f607105546050f2aa09c25ad3d12bc.tar.gz |
No E_STRICT in production
-rwxr-xr-x | UPGRADING | 2 | ||||
-rw-r--r-- | php.ini-development | 4 | ||||
-rw-r--r-- | php.ini-production | 6 |
3 files changed, 7 insertions, 5 deletions
@@ -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 |