Fixed test

This commit is contained in:
Dmitry Stogov 2008-06-24 07:06:08 +00:00
parent f93e715fc5
commit 7e5392b54a

View File

@ -57,11 +57,11 @@ print strlen($utf8) . "\n";
// Wrong Parameters
echo "== WRONG PARAMETERS ==\n";
// Array
// Note: PHP Notice, but returns some value
// Note: PHP Warning, strlen() expects parameter 1 to be string, array given
$r = strlen($t_ary);
echo $r."\n";
// Object
// Note: PHP Notice, but returns some value
// Note: PHP Warning, strlen() expects parameter 1 to be string, object given
$r = strlen($t_obj);
echo $r."\n";
// Wrong encoding
@ -91,11 +91,10 @@ echo $r."\n";
43
101
== WRONG PARAMETERS ==
ERR: Notice
5
ERR: Catchable fatal error
ERR: Notice
6
ERR: Warning
ERR: Warning
ERR: Warning