From 53b0b44f073f970e219d7028305f71185a980645 Mon Sep 17 00:00:00 2001 From: Debian PHP Maintainers Date: Sat, 2 May 2015 10:26:57 +0200 Subject: [PATCH] php-5.6.0-oldpcre Gbp-Pq: Name 0026-php-5.6.0-oldpcre.patch --- ext/pcre/tests/grep2.phpt | 10 ++-------- ext/pcre/tests/match_flags3.phpt | 2 +- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/ext/pcre/tests/grep2.phpt b/ext/pcre/tests/grep2.phpt index 9721dfbd..4c35ec39 100644 --- a/ext/pcre/tests/grep2.phpt +++ b/ext/pcre/tests/grep2.phpt @@ -36,12 +36,6 @@ array(1) { string(1) "1" } bool(true) -array(3) { - [5]=> - string(1) "a" - ["xyz"]=> - string(2) "q6" - [6]=> - string(3) "h20" +array(0) { } -bool(false) +bool(true) diff --git a/ext/pcre/tests/match_flags3.phpt b/ext/pcre/tests/match_flags3.phpt index 6511c715..05c62a00 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: %s name must start with a non-digit at offset %d in %smatch_flags3.php on line %d +Warning: preg_match(): Numeric named subpatterns are not allowed in %smatch_flags3.php on line %d bool(false) -- 2.30.2