diff options
author | Antony Dovgal <tony2001@php.net> | 2006-05-29 21:08:02 +0000 |
---|---|---|
committer | Antony Dovgal <tony2001@php.net> | 2006-05-29 21:08:02 +0000 |
commit | 70c643f5f055d06f42b9d3d8caae28aa79fb9069 (patch) | |
tree | 28bc0ec9e29f6e445387c4838780644cdb39cf84 /ext/mbstring | |
parent | fb696afd108b41be7a0da506ead8227c191fed3d (diff) | |
download | php-git-70c643f5f055d06f42b9d3d8caae28aa79fb9069.tar.gz |
fix tests
Diffstat (limited to 'ext/mbstring')
-rw-r--r-- | ext/mbstring/tests/common.inc | 6 | ||||
-rw-r--r-- | ext/mbstring/tests/mb_strlen.phpt | 1 |
2 files changed, 5 insertions, 2 deletions
diff --git a/ext/mbstring/tests/common.inc b/ext/mbstring/tests/common.inc index e8fb411b01..1df6341077 100644 --- a/ext/mbstring/tests/common.inc +++ b/ext/mbstring/tests/common.inc @@ -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 +?> diff --git a/ext/mbstring/tests/mb_strlen.phpt b/ext/mbstring/tests/mb_strlen.phpt index 6a71b41580..e84653919b 100644 --- a/ext/mbstring/tests/mb_strlen.phpt +++ b/ext/mbstring/tests/mb_strlen.phpt @@ -98,6 +98,7 @@ ERR: Warning == WRONG PARAMETERS == ERR: Notice 5 +ERR: Catchable fatal error ERR: Notice 6 ERR: Warning |