From: Christoph M. Becker Date: Fri, 6 Jan 2017 10:50:30 +0000 (+0100) Subject: Fix test case X-Git-Tag: php-7.2.0alpha1~615 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cba33121f22009585e466a6477f352701b7c3464;p=php Fix test case Unmatched subpatterns are reported as NULL as of commit ee6aaee8, so we adjust the test accordingly. --- diff --git a/ext/pcre/tests/request47456.phpt b/ext/pcre/tests/request47456.phpt index 2ba2627c8d..df054743dd 100644 --- a/ext/pcre/tests/request47456.phpt +++ b/ext/pcre/tests/request47456.phpt @@ -34,11 +34,11 @@ array(3) { ["chr"]=> string(1) "b" [1]=> - string(0) "" + NULL ["num"]=> - string(0) "" + NULL [2]=> - string(0) "" + NULL [3]=> string(1) "b" } @@ -77,11 +77,11 @@ array(3) { ["chr"]=> string(1) "b" [1]=> - string(0) "" + NULL ["num"]=> - string(0) "" + NULL [2]=> - string(0) "" + NULL [3]=> string(1) "b" }