summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRemi Collet <remi@php.net>2019-03-19 16:15:14 +0100
committerRemi Collet <remi@php.net>2019-03-19 16:15:14 +0100
commitc421d9afeca772968e185092950b70fdcd98f1e6 (patch)
treecb653108416b4a0afba051e6a5a275626eddb45d
parent661bce47aebdc67bda1616e1b6979803765173a6 (diff)
downloadphp-git-c421d9afeca772968e185092950b70fdcd98f1e6.tar.gz
fix test for upcoming pcre2 10.33
"group name ..." => "subpattern name ..."
-rw-r--r--ext/pcre/tests/bug37911.phpt2
-rw-r--r--ext/pcre/tests/match_flags3.phpt2
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/pcre/tests/bug37911.phpt b/ext/pcre/tests/bug37911.phpt
index 2b7481a464..4f3cb3574d 100644
--- a/ext/pcre/tests/bug37911.phpt
+++ b/ext/pcre/tests/bug37911.phpt
@@ -37,5 +37,5 @@ array(3) {
string(4) "blub"
}
-Warning: preg_replace_callback(): Compilation failed: group name must start with a non-digit at offset %d in %sbug37911.php on line %d
+Warning: preg_replace_callback(): Compilation failed: %s name must start with a non-digit at offset %d in %sbug37911.php on line %d
NULL
diff --git a/ext/pcre/tests/match_flags3.phpt b/ext/pcre/tests/match_flags3.phpt
index 695f0c1e81..6511c715e1 100644
--- a/ext/pcre/tests/match_flags3.phpt
+++ b/ext/pcre/tests/match_flags3.phpt
@@ -41,5 +41,5 @@ array(1) {
}
}
-Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset %d in %smatch_flags3.php on line %d
+Warning: preg_match(): Compilation failed: %s name must start with a non-digit at offset %d in %smatch_flags3.php on line %d
bool(false)