diff options
Diffstat (limited to 'ext')
| -rw-r--r-- | ext/mbstring/tests/mb_http_output.phpt | 2 | ||||
| -rw-r--r-- | ext/mbstring/tests/mb_internal_encoding.phpt | 4 | ||||
| -rw-r--r-- | ext/mbstring/tests/mb_strpos.phpt | 6 |
3 files changed, 4 insertions, 8 deletions
diff --git a/ext/mbstring/tests/mb_http_output.phpt b/ext/mbstring/tests/mb_http_output.phpt index 1e5d4ceb71..0a6839f7f1 100644 --- a/ext/mbstring/tests/mb_http_output.phpt +++ b/ext/mbstring/tests/mb_http_output.phpt @@ -75,11 +75,9 @@ EUC-JP ERR: Warning OK_BAD_SET EUC-JP -ERR: Notice ERR: Warning OK_BAD_ARY_SET EUC-JP -ERR: Notice ERR: Warning OK_BAD_OBJ_SET EUC-JP diff --git a/ext/mbstring/tests/mb_internal_encoding.phpt b/ext/mbstring/tests/mb_internal_encoding.phpt index 28122707c8..1d62962529 100644 --- a/ext/mbstring/tests/mb_internal_encoding.phpt +++ b/ext/mbstring/tests/mb_internal_encoding.phpt @@ -30,7 +30,7 @@ print "$enc\n"; // Invalid Parameter print "== INVALID PARAMETER ==\n"; -// Note: Other than string type, PHP raise both Notice and Warning +// Note: Other than string type, PHP raises Warning $r = mb_internal_encoding('BAD'); ($r === FALSE) ? print "OK_BAD_SET\n" : print "NG_BAD_SET\n"; $enc = mb_internal_encoding(); @@ -59,11 +59,9 @@ ASCII ERR: Warning OK_BAD_SET ASCII -ERR: Notice ERR: Warning OK_BAD_ARY_SET ASCII -ERR: Notice ERR: Warning OK_BAD_OBJ_SET ASCII diff --git a/ext/mbstring/tests/mb_strpos.phpt b/ext/mbstring/tests/mb_strpos.phpt index 69080f7d54..ca49599fa7 100644 --- a/ext/mbstring/tests/mb_strpos.phpt +++ b/ext/mbstring/tests/mb_strpos.phpt @@ -166,10 +166,10 @@ OK_NEWLINE == INVALID PARAMETER TEST == ERR: Warning OK_NULL -ERR: Notice +ERR: Warning OK_ARRAY -ERR: Notice +ERR: Warning OK_OBJECT -ERR: Notice +ERR: Warning OK_BAD_ENCODING |
