summaryrefslogtreecommitdiff
path: root/php.ini-development
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2019-10-02 12:42:46 +0200
committerNikita Popov <nikita.ppv@gmail.com>2019-10-06 10:06:33 +0200
commit6623e7ac51f0bafe85e013f9aed5340199e80c10 (patch)
tree88a884f764f5a532996802ccbb74365a598884d5 /php.ini-development
parentb078ae6c01101f2f69cd5fb4c9b80c65a5164e04 (diff)
downloadphp-git-6623e7ac51f0bafe85e013f9aed5340199e80c10.tar.gz
Add support for mbstring.regex_retry_limit
This is very similar to the existing mbstring.regex_stack_limit, but for backtracking. The default value matches pcre.backtrack_limit. Only used on libonig >= 2.8.0.
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 4ac6c44b1e..7c8649d4c7 100644
--- a/php.ini-development
+++ b/php.ini-development
@@ -1692,6 +1692,11 @@ zend.assertions = 1
; Default: 100000
;mbstring.regex_stack_limit=100000
+; This directive specifies maximum retry count for mbstring regular expressions. It is similar
+; to the pcre.backtrack_limit for PCRE.
+; Default: 1000000
+;mbstring.regex_retry_limit=1000000
+
[gd]
; Tell the jpeg decode to ignore warnings and try to create
; a gd image. The warning will then be displayed as notices