diff options
author | Stanislav Malyshev <stas@php.net> | 2019-08-25 20:06:02 -0700 |
---|---|---|
committer | Stanislav Malyshev <stas@php.net> | 2019-08-25 20:06:02 -0700 |
commit | d1646e328aff679dccf5597476e98c182fe4365c (patch) | |
tree | fbefc2e028d48f36509c627793e300f05693e00e | |
parent | 5d25ebb0dd30cdf4e8c7e83d1f0788e8fdb1c4ef (diff) | |
download | php-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.phpt | 2 |
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) |