// 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
43
101
== WRONG PARAMETERS ==
-ERR: Notice
-5
-ERR: Catchable fatal error
-ERR: Notice
-6
+ERR: Warning
+
+ERR: Warning
+
ERR: Warning