From 6623e7ac51f0bafe85e013f9aed5340199e80c10 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Wed, 2 Oct 2019 12:42:46 +0200 Subject: 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. --- php.ini-development | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'php.ini-development') 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 -- cgit v1.2.1