summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStanislav Malyshev <stas@php.net>2019-08-25 20:06:02 -0700
committerStanislav Malyshev <stas@php.net>2019-08-25 20:06:02 -0700
commitd1646e328aff679dccf5597476e98c182fe4365c (patch)
treefbefc2e028d48f36509c627793e300f05693e00e
parent5d25ebb0dd30cdf4e8c7e83d1f0788e8fdb1c4ef (diff)
downloadphp-git-d1646e328aff679dccf5597476e98c182fe4365c.tar.gz
Fix test
Not sure why offset changed... probably different PCRE version calculates them in different way.
-rw-r--r--ext/pcre/tests/bug75457.phpt2
1 files changed, 1 insertions, 1 deletions
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)