Browse Source

- MFH: these should have been in the previous commit.

PHP-5.2.1RC1
Moriyoshi Koizumi 17 years ago
parent
commit
488cd17ff5
  1. 16
      ext/mbstring/tests/mb_stristr_variation2.phpt
  2. 16
      ext/mbstring/tests/mb_strstr_variation2.phpt
  3. 18
      ext/mbstring/tests/mb_substr_count_variation2.phpt

16
ext/mbstring/tests/mb_stristr_variation2.phpt

@ -165,33 +165,33 @@ Error: 2 - mb_stristr() expects parameter 2 to be string, array given, %s(%d)
bool(false)
--uppercase NULL--
Error: 2 - mb_stristr(): Empty delimiter., %s(%d)
Error: 2 - mb_stristr(): Empty delimiter, %s(%d)
bool(false)
--lowercase null--
Error: 2 - mb_stristr(): Empty delimiter., %s(%d)
Error: 2 - mb_stristr(): Empty delimiter, %s(%d)
bool(false)
--lowercase true--
bool(false)
--lowercase false--
Error: 2 - mb_stristr(): Empty delimiter., %s(%d)
Error: 2 - mb_stristr(): Empty delimiter, %s(%d)
bool(false)
--uppercase TRUE--
bool(false)
--uppercase FALSE--
Error: 2 - mb_stristr(): Empty delimiter., %s(%d)
Error: 2 - mb_stristr(): Empty delimiter, %s(%d)
bool(false)
--empty string DQ--
Error: 2 - mb_stristr(): Empty delimiter., %s(%d)
Error: 2 - mb_stristr(): Empty delimiter, %s(%d)
bool(false)
--empty string SQ--
Error: 2 - mb_stristr(): Empty delimiter., %s(%d)
Error: 2 - mb_stristr(): Empty delimiter, %s(%d)
bool(false)
--instance of classWithToString--
@ -202,11 +202,11 @@ Error: 2 - mb_stristr() expects parameter 2 to be string, object given, %s(%d)
bool(false)
--undefined var--
Error: 2 - mb_stristr(): Empty delimiter., %s(%d)
Error: 2 - mb_stristr(): Empty delimiter, %s(%d)
bool(false)
--unset var--
Error: 2 - mb_stristr(): Empty delimiter., %s(%d)
Error: 2 - mb_stristr(): Empty delimiter, %s(%d)
bool(false)
--resource--

16
ext/mbstring/tests/mb_strstr_variation2.phpt

@ -165,33 +165,33 @@ Error: 2 - mb_strstr() expects parameter 2 to be string, array given, %s(%d)
bool(false)
--uppercase NULL--
Error: 2 - mb_strstr(): Empty delimiter., %s(%d)
Error: 2 - mb_strstr(): Empty delimiter, %s(%d)
bool(false)
--lowercase null--
Error: 2 - mb_strstr(): Empty delimiter., %s(%d)
Error: 2 - mb_strstr(): Empty delimiter, %s(%d)
bool(false)
--lowercase true--
bool(false)
--lowercase false--
Error: 2 - mb_strstr(): Empty delimiter., %s(%d)
Error: 2 - mb_strstr(): Empty delimiter, %s(%d)
bool(false)
--uppercase TRUE--
bool(false)
--uppercase FALSE--
Error: 2 - mb_strstr(): Empty delimiter., %s(%d)
Error: 2 - mb_strstr(): Empty delimiter, %s(%d)
bool(false)
--empty string DQ--
Error: 2 - mb_strstr(): Empty delimiter., %s(%d)
Error: 2 - mb_strstr(): Empty delimiter, %s(%d)
bool(false)
--empty string SQ--
Error: 2 - mb_strstr(): Empty delimiter., %s(%d)
Error: 2 - mb_strstr(): Empty delimiter, %s(%d)
bool(false)
--instance of classWithToString--
@ -202,11 +202,11 @@ Error: 2 - mb_strstr() expects parameter 2 to be string, object given, %s(%d)
bool(false)
--undefined var--
Error: 2 - mb_strstr(): Empty delimiter., %s(%d)
Error: 2 - mb_strstr(): Empty delimiter, %s(%d)
bool(false)
--unset var--
Error: 2 - mb_strstr(): Empty delimiter., %s(%d)
Error: 2 - mb_strstr(): Empty delimiter, %s(%d)
bool(false)
--resource--

18
ext/mbstring/tests/mb_substr_count_variation2.phpt

@ -133,12 +133,12 @@ int(0)
-- Iteration 10 --
Warning: mb_substr_count(): Empty substring. in %s on line %d
Warning: mb_substr_count(): Empty substring in %s on line %d
bool(false)
-- Iteration 11 --
Warning: mb_substr_count(): Empty substring. in %s on line %d
Warning: mb_substr_count(): Empty substring in %s on line %d
bool(false)
-- Iteration 12 --
@ -146,7 +146,7 @@ int(0)
-- Iteration 13 --
Warning: mb_substr_count(): Empty substring. in %s on line %d
Warning: mb_substr_count(): Empty substring in %s on line %d
bool(false)
-- Iteration 14 --
@ -154,17 +154,17 @@ int(0)
-- Iteration 15 --
Warning: mb_substr_count(): Empty substring. in %s on line %d
Warning: mb_substr_count(): Empty substring in %s on line %d
bool(false)
-- Iteration 16 --
Warning: mb_substr_count(): Empty substring. in %s on line %d
Warning: mb_substr_count(): Empty substring in %s on line %d
bool(false)
-- Iteration 17 --
Warning: mb_substr_count(): Empty substring. in %s on line %d
Warning: mb_substr_count(): Empty substring in %s on line %d
bool(false)
-- Iteration 18 --
@ -181,16 +181,16 @@ int(1)
-- Iteration 22 --
Warning: mb_substr_count(): Empty substring. in %s on line %d
Warning: mb_substr_count(): Empty substring in %s on line %d
bool(false)
-- Iteration 23 --
Warning: mb_substr_count(): Empty substring. in %s on line %d
Warning: mb_substr_count(): Empty substring in %s on line %d
bool(false)
-- Iteration 24 --
Warning: mb_substr_count() expects parameter 2 to be string, resource given in %s on line %d
NULL
Done
Done
Loading…
Cancel
Save