Skip to content

Commit 26496ab

Browse files
committed
Change default developer setting for zend.execution_ignore_args
RFC: https://wiki.php.net/rfc/exception_ignore_args_default_value
1 parent aa7185b commit 26496ab

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

php.ini-development

+4-4
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@
161161

162162
; zend.exception_ignore_args
163163
; Default Value: On
164-
; Development Value: Off
164+
; Development Value: On
165165
; Production Value: On
166166

167167
; zend.exception_string_param_max_len
@@ -378,10 +378,10 @@ zend.enable_gc = On
378378
; Allows to include or exclude arguments from stack traces generated for exceptions.
379379
; In production, it is recommended to turn this setting on to prohibit the output
380380
; of sensitive information in stack traces
381-
; Default Value: Off
382-
; Development Value: Off
381+
; Default Value: On
382+
; Development Value: On
383383
; Production Value: On
384-
zend.exception_ignore_args = Off
384+
zend.exception_ignore_args = On
385385

386386
; Allows setting the maximum string length in an argument of a stringified stack trace
387387
; to a value between 0 and 1000000.

php.ini-production

+2-2
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@
161161

162162
; zend.exception_ignore_args
163163
; Default Value: On
164-
; Development Value: Off
164+
; Development Value: On
165165
; Production Value: On
166166

167167
; zend.exception_string_param_max_len
@@ -379,7 +379,7 @@ zend.enable_gc = On
379379
; In production, it is recommended to turn this setting on to prohibit the output
380380
; of sensitive information in stack traces
381381
; Default Value: On
382-
; Development Value: Off
382+
; Development Value: On
383383
; Production Value: On
384384
zend.exception_ignore_args = On
385385

0 commit comments

Comments
 (0)