summaryrefslogtreecommitdiff
path: root/php.ini-development
diff options
context:
space:
mode:
authorStanislav Malyshev <stas@php.net>2019-04-01 00:00:14 -0700
committerStanislav Malyshev <stas@php.net>2019-04-01 00:00:14 -0700
commitbc8f292c052d7647fe0eadda426a4f4fae1d8832 (patch)
treeb73dbde15562e658d25acef8a345722bec5f385d /php.ini-development
parentd2a86e1c0f64e3690dc3aee4b5d041b0eeb67b70 (diff)
parente12c069d33fef2e0b2a8009e1cd4bc4fc2206e67 (diff)
downloadphp-git-bc8f292c052d7647fe0eadda426a4f4fae1d8832.tar.gz
Merge branch 'mb-limit-73' into PHP-7.3
* mb-limit-73: Add fallbacks for older oniguruma versions Add mbstring.regex_stack_limit to php.ini-* Implement RF bug #72777 - ensure stack limits on mbstring functions.
Diffstat (limited to 'php.ini-development')
-rw-r--r--php.ini-development5
1 files changed, 5 insertions, 0 deletions
diff --git a/php.ini-development b/php.ini-development
index fcc95fd3c5..320cf170a3 100644
--- a/php.ini-development
+++ b/php.ini-development
@@ -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