From 1ba509ce193ffc7b0f50068ab058b0a8ada9f2d0 Mon Sep 17 00:00:00 2001 From: krakjoe Date: Thu, 21 Aug 2014 09:14:46 +0100 Subject: [PATCH] use a suitable number of patterns to show the bug is resolved, not a stupid number that could cause memory limit to be exceeded or other side effects --- ext/pcre/tests/bug47662.phpt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ext/pcre/tests/bug47662.phpt b/ext/pcre/tests/bug47662.phpt index d6056746cb..abf65e6ca9 100644 --- a/ext/pcre/tests/bug47662.phpt +++ b/ext/pcre/tests/bug47662.phpt @@ -4,9 +4,10 @@ Bug #47662 (support more than 127 named subpatterns) ))'; } + $regex .= 'fo+bar@'; var_dump(preg_match($regex, 'foobar')); -- 2.40.0