From: Stanislav Malyshev Date: Mon, 26 Aug 2019 03:06:02 +0000 (-0700) Subject: Fix test X-Git-Tag: php-7.4.0RC1~45^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d1646e328aff679dccf5597476e98c182fe4365c;p=php Fix test Not sure why offset changed... probably different PCRE version calculates them in different way. --- 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)