Closed thekid closed 6 years ago
This is because backtracking via (*MARK:NAME)
is not supported by HHVM:
preg_match_all('/(*MARK:X)[a-z]+/', $argv[1], $matches, PREG_SET_ORDER);
var_dump($matches);
$ hhvm test.php "hello"
array(1) {
[0]=>
array(1) {
[0]=>
string(5) "hello"
}
}
$ php test.php "hello"
array(1) {
[0]=>
array(2) {
[0]=>
string(5) "hello"
["MARK"]=>
string(1) "X"
}
}
See https://travis-ci.org/xp-forge/frontend/jobs/361281316: