Skip to content

Commit a1c39e7

Browse files
committed
Make error_reporting=E_ALL the default
1 parent be82471 commit a1c39e7

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

Zend/zend.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ ZEND_API zend_bool zend_rc_debug = 0;
9494
static ZEND_INI_MH(OnUpdateErrorReporting) /* {{{ */
9595
{
9696
if (!new_value) {
97-
EG(error_reporting) = E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED;
97+
EG(error_reporting) = E_ALL;
9898
} else {
9999
EG(error_reporting) = atoi(ZSTR_VAL(new_value));
100100
}

php.ini-development

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@
104104
; Production Value: Off
105105

106106
; error_reporting
107-
; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
107+
; Default Value: E_ALL
108108
; Development Value: E_ALL
109109
; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
110110

@@ -449,7 +449,7 @@ memory_limit = 128M
449449
; E_ALL & ~E_NOTICE (Show all errors, except for notices)
450450
; E_ALL & ~E_NOTICE & ~E_STRICT (Show all errors, except for notices and coding standards warnings.)
451451
; E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR (Show only errors)
452-
; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
452+
; Default Value: E_ALL
453453
; Development Value: E_ALL
454454
; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
455455
; http://php.net/error-reporting

php.ini-production

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@
104104
; Production Value: Off
105105

106106
; error_reporting
107-
; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
107+
; Default Value: E_ALL
108108
; Development Value: E_ALL
109109
; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
110110

@@ -451,7 +451,7 @@ memory_limit = 128M
451451
; E_ALL & ~E_NOTICE (Show all errors, except for notices)
452452
; E_ALL & ~E_NOTICE & ~E_STRICT (Show all errors, except for notices and coding standards warnings.)
453453
; E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR (Show only errors)
454-
; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
454+
; Default Value: E_ALL
455455
; Development Value: E_ALL
456456
; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
457457
; http://php.net/error-reporting

0 commit comments

Comments
 (0)