Skip to content

Commit ab32d36

Browse files
committed
pcre tests go with 8.34 upgrade
1 parent 23cb7bd commit ab32d36

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

ext/pcre/tests/bug37911.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,5 @@ array(3) {
3737
string(4) "blub"
3838
}
3939

40-
Warning: preg_replace_callback(): Numeric named subpatterns are not allowed in %sbug37911.php on line 14
40+
Warning: preg_replace_callback(): Compilation failed: group name must start with a non-digit at offset %d in %sbug37911.php on line %d
4141
NULL

ext/pcre/tests/grep2.phpt

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,12 @@ array(1) {
4040
string(1) "1"
4141
}
4242
bool(true)
43-
array(0) {
43+
array(3) {
44+
[5]=>
45+
string(1) "a"
46+
["xyz"]=>
47+
string(2) "q6"
48+
[6]=>
49+
string(3) "h20"
4450
}
45-
bool(true)
51+
bool(false)

ext/pcre/tests/match_flags3.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,5 @@ array(1) {
4242
}
4343
}
4444

45-
Warning: preg_match(): Numeric named subpatterns are not allowed in %smatch_flags3.php on line 14
45+
Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset %d in %smatch_flags3.php on line %d
4646
bool(false)

0 commit comments

Comments
 (0)