From d1646e328aff679dccf5597476e98c182fe4365c Mon Sep 17 00:00:00 2001 From: Stanislav Malyshev Date: Sun, 25 Aug 2019 20:06:02 -0700 Subject: [PATCH] Fix test Not sure why offset changed... probably different PCRE version calculates them in different way. --- ext/pcre/tests/bug75457.phpt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/pcre/tests/bug75457.phpt b/ext/pcre/tests/bug75457.phpt index c7ce9ed0f9..ee5ab162f8 100644 --- a/ext/pcre/tests/bug75457.phpt +++ b/ext/pcre/tests/bug75457.phpt @@ -6,5 +6,5 @@ $pattern = "/(((?(?C)0?=))(?!()0|.(?0)0)())/"; var_dump(preg_match($pattern, "hello")); ?> --EXPECTF-- -Warning: preg_match(): Compilation failed: assertion expected after (?( or (?(?C) at offset 4 in %sbug75457.php on line %d +Warning: preg_match(): Compilation failed: assertion expected after (?( or (?(?C) at offset 8 in %sbug75457.php on line %d bool(false) -- 2.40.0