diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2019-10-02 12:42:46 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-10-06 10:06:33 +0200 |
commit | 6623e7ac51f0bafe85e013f9aed5340199e80c10 (patch) | |
tree | 88a884f764f5a532996802ccbb74365a598884d5 /php.ini-production | |
parent | b078ae6c01101f2f69cd5fb4c9b80c65a5164e04 (diff) | |
download | php-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-production')
-rw-r--r-- | php.ini-production | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/php.ini-production b/php.ini-production index d47cf161e3..8dc9a32e00 100644 --- a/php.ini-production +++ b/php.ini-production @@ -1694,6 +1694,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 |