]> granicus.if.org Git - php/commitdiff
fix tests
authorAntony Dovgal <tony2001@php.net>
Mon, 29 May 2006 21:08:02 +0000 (21:08 +0000)
committerAntony Dovgal <tony2001@php.net>
Mon, 29 May 2006 21:08:02 +0000 (21:08 +0000)
ext/mbstring/tests/common.inc
ext/mbstring/tests/mb_strlen.phpt

index e8fb411b013643e39fb397cf71fe00ca699e7443..1df63410773832dc105d52a02bc9c9b4953c0ea6 100644 (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;
 
-?>
\ No newline at end of file
+?>
index 6a71b4158011462f577d00e159d02ebcadd1eb47..e84653919b468f546457ecd144b29e0d28472c42 100644 (file)
@@ -98,6 +98,7 @@ ERR: Warning
 == WRONG PARAMETERS ==
 ERR: Notice
 5
+ERR: Catchable fatal error
 ERR: Notice
 6
 ERR: Warning