Skip to content

Commit

Permalink
pcre tests go with 8.34 upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
weltling committed Feb 4, 2014
1 parent 23cb7bd commit ab32d36
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ext/pcre/tests/bug37911.phpt
Expand Up @@ -37,5 +37,5 @@ array(3) {
string(4) "blub"
}

Warning: preg_replace_callback(): Numeric named subpatterns are not allowed in %sbug37911.php on line 14
Warning: preg_replace_callback(): Compilation failed: group name must start with a non-digit at offset %d in %sbug37911.php on line %d
NULL
10 changes: 8 additions & 2 deletions ext/pcre/tests/grep2.phpt
Expand Up @@ -40,6 +40,12 @@ array(1) {
string(1) "1"
}
bool(true)
array(0) {
array(3) {
[5]=>
string(1) "a"
["xyz"]=>
string(2) "q6"
[6]=>
string(3) "h20"
}
bool(true)
bool(false)
2 changes: 1 addition & 1 deletion ext/pcre/tests/match_flags3.phpt
Expand Up @@ -42,5 +42,5 @@ array(1) {
}
}

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

0 comments on commit ab32d36

Please sign in to comment.