fix tests

This commit is contained in:
Antony Dovgal 2006-05-29 21:08:02 +00:00
parent fb696afd10
commit 70c643f5f0
2 changed files with 5 additions and 2 deletions

View File

@ -18,7 +18,9 @@ function test_error_handler($err_no, $err_msg, $filename, $linenum, $vars) {
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
2048=> "Strict Notice", // E_STRICT
4096=> "Catchable fatal error", // E_RECOVERABLE_ERROR
);
if (!empty($debug)) {
@ -50,4 +52,4 @@ class tc
$t_obj = new tc;
?>
?>

View File

@ -98,6 +98,7 @@ ERR: Warning
== WRONG PARAMETERS ==
ERR: Notice
5
ERR: Catchable fatal error
ERR: Notice
6
ERR: Warning