mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Fix test
Not sure why offset changed... probably different PCRE version calculates them in different way.
This commit is contained in:
parent
5d25ebb0dd
commit
d1646e328a
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue