com php-src: fix test for upcoming pcre2 10.33: ext/pcre/tests/bug37911.phpt ext/pcre/tests/match_flags3. phpt

From: Date: Tue, 19 Mar 2019 15:15:14 +0000
Subject: com php-src: fix test for upcoming pcre2 10.33: ext/pcre/tests/bug37911.phpt ext/pcre/tests/match_flags3. phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-105251@lists.php.net to get a copy of this message
Commit: c421d9afeca772968e185092950b70fdcd98f1e6 Author: Remi Collet <remi@php.net> Tue, 19 Mar 2019 16:15:14 +0100 Parents: 661bce47aebdc67bda1616e1b6979803765173a6 Branches: PHP-7.3 PHP-7.4 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=c421d9afeca772968e185092950b70fdcd98f1e6 Log: fix test for upcoming pcre2 10.33 "group name ..." => "subpattern name ..." Changed paths: M ext/pcre/tests/bug37911.phpt M ext/pcre/tests/match_flags3.phpt Diff: diff --git a/ext/pcre/tests/bug37911.phpt b/ext/pcre/tests/bug37911.phpt index 2b7481a..4f3cb35 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 695f0c1..6511c71 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)

« previous php.cvs (#105251) next »