From: Christoph M. Becker Date: Sat, 23 May 2015 17:47:47 +0000 (+0200) Subject: adjusted other tests to cater to changed behavior X-Git-Tag: php-7.2.0alpha1~625^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=303b3655e62390db0c5daf240f860e62e87753b5;p=php adjusted other tests to cater to changed behavior --- diff --git a/ext/pcre/tests/001.phpt b/ext/pcre/tests/001.phpt index 313f7fdc67..7aeebf3cf6 100644 --- a/ext/pcre/tests/001.phpt +++ b/ext/pcre/tests/001.phpt @@ -52,7 +52,7 @@ array(10) { [2]=> string(2) "06" [3]=> - string(0) "" + NULL ["month"]=> string(2) "12" [4]=> @@ -75,7 +75,7 @@ array(10) { [2]=> string(2) "12" [3]=> - string(0) "" + NULL ["month"]=> string(3) "Aug" [4]=> diff --git a/ext/pcre/tests/003.phpt b/ext/pcre/tests/003.phpt index e697c375c6..2144032d9d 100644 --- a/ext/pcre/tests/003.phpt +++ b/ext/pcre/tests/003.phpt @@ -58,7 +58,7 @@ array(10) { [0]=> string(2) "20" [1]=> - string(0) "" + NULL } ["month"]=> array(2) { @@ -127,7 +127,7 @@ array(2) { [2]=> string(2) "12" [3]=> - string(0) "" + NULL ["month"]=> string(3) "Aug" [4]=> diff --git a/ext/pcre/tests/004.phpt b/ext/pcre/tests/004.phpt index 11361d1b32..29f8204351 100644 --- a/ext/pcre/tests/004.phpt +++ b/ext/pcre/tests/004.phpt @@ -24,7 +24,7 @@ array(2) { [1]=> string(12) "unsigned int" [2]=> - string(0) "" + NULL [3]=> string(0) "" [4]=> @@ -41,13 +41,13 @@ array(2) { [1]=> string(5) "short" [2]=> - string(0) "" + NULL [3]=> string(0) "" [4]=> string(1) "a" [5]=> - string(0) "" + NULL [6]=> string(3) ", b" } diff --git a/ext/pcre/tests/marks.phpt b/ext/pcre/tests/marks.phpt index 8838a00500..c065caab18 100644 --- a/ext/pcre/tests/marks.phpt +++ b/ext/pcre/tests/marks.phpt @@ -39,9 +39,9 @@ array(5) { [0]=> string(3) "_c_" [1]=> - string(0) "" + NULL [2]=> - string(0) "" + NULL [3]=> string(1) "c" ["MARK"]=> @@ -65,42 +65,42 @@ array(6) { [0]=> string(1) "a" [1]=> - string(0) "" + NULL [2]=> - string(0) "" + NULL [3]=> - string(0) "" + NULL } [2]=> array(4) { [0]=> - string(0) "" + NULL [1]=> string(1) "b" [2]=> - string(0) "" + NULL [3]=> - string(0) "" + NULL } [3]=> array(4) { [0]=> - string(0) "" + NULL [1]=> - string(0) "" + NULL [2]=> string(1) "c" [3]=> - string(0) "" + NULL } [4]=> array(4) { [0]=> - string(0) "" + NULL [1]=> - string(0) "" + NULL [2]=> - string(0) "" + NULL [3]=> string(1) "d" } @@ -128,7 +128,7 @@ array(4) { [0]=> string(3) "_b_" [1]=> - string(0) "" + NULL [2]=> string(1) "b" } @@ -137,9 +137,9 @@ array(4) { [0]=> string(3) "_c_" [1]=> - string(0) "" + NULL [2]=> - string(0) "" + NULL [3]=> string(1) "c" ["MARK"]=> @@ -150,11 +150,11 @@ array(4) { [0]=> string(3) "_d_" [1]=> - string(0) "" + NULL [2]=> - string(0) "" + NULL [3]=> - string(0) "" + NULL [4]=> string(1) "d" }