128 => "Compile Warning", // E_COMPILE_WARNING
256 => "User Error", // E_USER_ERROR
512 => "User Warning", // E_USER_WARMING
- 1024=> "User Notice" // E_USER_NOTICE
+ 1024=> "User Notice", // E_USER_NOTICE
+ 4096=> "Catchable fatal error" // E_RECOVERABLE_ERROR
);
if (!empty($debug)) {
$t_obj = new tc;
-?>
\ No newline at end of file
+?>
// Note: PHP Notice, but returns some value
$r = strlen($t_ary);
echo $r."\n";
+
// Object
-// Note: PHP Notice, but returns some value
+// Note: PHP Catchable error
$r = strlen($t_obj);
echo $r."\n";
+
// Wrong encoding
mb_internal_encoding('EUC-JP');
$r = strlen($euc_jp, 'BAD_NAME');
echo $r."\n";
-
-
-
?>
--EXPECT--
== WRONG PARAMETERS ==
ERR: Notice
5
+ERR: Catchable fatal error
ERR: Notice
6
ERR: Warning
-
-
-