Skip to content

Commit d1646e3

Browse files
committed
Fix test
Not sure why offset changed... probably different PCRE version calculates them in different way.
1 parent 5d25ebb commit d1646e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/pcre/tests/bug75457.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ $pattern = "/(((?(?C)0?=))(?!()0|.(?0)0)())/";
66
var_dump(preg_match($pattern, "hello"));
77
?>
88
--EXPECTF--
9-
Warning: preg_match(): Compilation failed: assertion expected after (?( or (?(?C) at offset 4 in %sbug75457.php on line %d
9+
Warning: preg_match(): Compilation failed: assertion expected after (?( or (?(?C) at offset 8 in %sbug75457.php on line %d
1010
bool(false)

0 commit comments

Comments
 (0)