summaryrefslogtreecommitdiff
path: root/php.ini-production
diff options
context:
space:
mode:
authorStanislav Malyshev <stas@php.net>2011-07-23 22:07:22 +0000
committerStanislav Malyshev <stas@php.net>2011-07-23 22:07:22 +0000
commit7bb8f9eecb813f18e310fb49ad19f65b39a7780c (patch)
tree2987121fe992de6d4ed422507bfccbc99edef78a /php.ini-production
parent48870107dcf08978a033e318dbab0f79564c5d77 (diff)
downloadphp-git-7bb8f9eecb813f18e310fb49ad19f65b39a7780c.tar.gz
Change E_ALL to include E_STRICT
Diffstat (limited to 'php.ini-production')
-rw-r--r--php.ini-production16
1 files changed, 8 insertions, 8 deletions
diff --git a/php.ini-production b/php.ini-production
index ab7b266440..dd7ffe221d 100644
--- a/php.ini-production
+++ b/php.ini-production
@@ -102,8 +102,8 @@
; Production Value: Off
; error_reporting
-; Default Value: E_ALL & ~E_NOTICE
-; Development Value: E_ALL | E_STRICT
+; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
+; Development Value: E_ALL
; Production Value: E_ALL & ~E_DEPRECATED
; html_errors
@@ -412,7 +412,7 @@ memory_limit = 128M
; recommend error reporting setting. Your production server shouldn't be wasting
; resources complaining about best practices and coding standards. That's what
; development servers and development settings are for.
-; Note: The php.ini-development file has this setting as E_ALL | E_STRICT. This
+; Note: The php.ini-development file has this setting as E_ALL. This
; means it pretty much reports everything which is exactly what you want during
; development and early testing.
;
@@ -443,12 +443,12 @@ memory_limit = 128M
; E_USER_DEPRECATED - user-generated deprecation warnings
;
; Common Values:
-; E_ALL & ~E_NOTICE (Show all errors, except for notices and coding standards warnings.)
-; E_ALL & ~E_NOTICE | E_STRICT (Show all errors, except for notices)
+; E_ALL (Show all errors, warnings and notices including coding standards.)
+; E_ALL & ~E_NOTICE (Show all errors, except for notices)
+; E_ALL & ~E_NOTICE & ~E_STRICT (Show all errors, except for notices and coding standards warnings.)
; E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR (Show only errors)
-; E_ALL | E_STRICT (Show all errors, warnings and notices including coding standards.)
-; Default Value: E_ALL & ~E_NOTICE
-; Development Value: E_ALL | E_STRICT
+; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
+; Development Value: E_ALL
; Production Value: E_ALL & ~E_DEPRECATED
; http://php.net/error-reporting
error_reporting = E_ALL & ~E_DEPRECATED