mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Merge branch 'PHP-8.1' into PHP-8.2
* PHP-8.1: ext/pcre/tests: support libpcre2-10.47
This commit is contained in:
@@ -21,7 +21,7 @@ var_dump(preg_last_error() == PREG_RECURSION_LIMIT_ERROR);
|
||||
|
||||
?>
|
||||
--EXPECTF--
|
||||
Warning: preg_grep(): Compilation failed: quantifier does not follow a repeatable item at offset 0 in %sgrep2.php on line %d
|
||||
Warning: preg_grep(): Compilation failed: quantifier does not follow a repeatable item at offset %r(0|1)%r in %sgrep2.php on line %d
|
||||
bool(false)
|
||||
array(3) {
|
||||
[5]=>
|
||||
|
||||
@@ -8,8 +8,8 @@ var_dump(preg_match('/\y/X', '\y'));
|
||||
|
||||
?>
|
||||
--EXPECTF--
|
||||
Warning: preg_match(): Compilation failed: unrecognized character follows \ at offset 1 in %spcre_extra.php on line 3
|
||||
Warning: preg_match(): Compilation failed: unrecognized character follows \ at offset %r(1|2)%r in %spcre_extra.php on line 3
|
||||
bool(false)
|
||||
|
||||
Warning: preg_match(): Compilation failed: unrecognized character follows \ at offset 1 in %spcre_extra.php on line 4
|
||||
Warning: preg_match(): Compilation failed: unrecognized character follows \ at offset %r(1|2)%r in %spcre_extra.php on line 4
|
||||
bool(false)
|
||||
|
||||
@@ -16,7 +16,7 @@ var_dump(preg_split('/\d*/', 'ab2c3u', -1, PREG_SPLIT_NO_EMPTY));
|
||||
|
||||
?>
|
||||
--EXPECTF--
|
||||
Warning: preg_split(): Compilation failed: quantifier does not follow a repeatable item at offset 0 in %ssplit.php on line %d
|
||||
Warning: preg_split(): Compilation failed: quantifier does not follow a repeatable item at offset %r(0|1)%r in %ssplit.php on line %d
|
||||
bool(false)
|
||||
array(3) {
|
||||
[0]=>
|
||||
|
||||
Reference in New Issue
Block a user