]> granicus.if.org Git - php/commitdiff
Add mbstring.regex_stack_limit to php.ini-*
authorStanislav Malyshev <stas@php.net>
Fri, 29 Mar 2019 05:57:07 +0000 (22:57 -0700)
committerStanislav Malyshev <stas@php.net>
Fri, 29 Mar 2019 05:57:07 +0000 (22:57 -0700)
php.ini-development
php.ini-production

index fcc95fd3c50d62b5a7e5f5116d50d97aaae4935b..320cf170a3bab2996d32ba640bc9999ceb5074c0 100644 (file)
@@ -1712,6 +1712,11 @@ zend.assertions = 1
 ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
 ;mbstring.http_output_conv_mimetype=
 
+; This directive specifies maximum stack depth for mbstring regular expressions. It is similar
+; to the pcre.recursion_limit for PCRE. 
+; Default: 100000
+;mbstring.regex_stack_limit=100000
+
 [gd]
 ; Tell the jpeg decode to ignore warnings and try to create
 ; a gd image. The warning will then be displayed as notices
index 909bf6d8dcef339303eb352c4cf53258e9143d16..656ae6730213c86ec615a85a76490a7a0811d792 100644 (file)
@@ -1719,6 +1719,11 @@ zend.assertions = -1
 ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
 ;mbstring.http_output_conv_mimetype=
 
+; This directive specifies maximum stack depth for mbstring regular expressions. It is similar
+; to the pcre.recursion_limit for PCRE. 
+; Default: 100000
+;mbstring.regex_stack_limit=100000
+
 [gd]
 ; Tell the jpeg decode to ignore warnings and try to create
 ; a gd image. The warning will then be displayed as notices