diff options
| author | Nikita Popov <nikita.ppv@gmail.com> | 2019-02-19 17:11:00 +0100 |
|---|---|---|
| committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-03-11 11:32:20 +0100 |
| commit | 852485d8ecd784153e41e565a0a87abf99cf4e0d (patch) | |
| tree | 3c8be88c2c98b5f1b2f9ea51e5d3a20c10baf3ff /ext/mbstring/tests/mb_http_output.phpt | |
| parent | 6bfb119e18e5241b6719a4ad69223d91c465a58e (diff) | |
| download | php-git-852485d8ecd784153e41e565a0a87abf99cf4e0d.tar.gz | |
Adjust tests for zpp TypeError change
Diffstat (limited to 'ext/mbstring/tests/mb_http_output.phpt')
| -rw-r--r-- | ext/mbstring/tests/mb_http_output.phpt | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/ext/mbstring/tests/mb_http_output.phpt b/ext/mbstring/tests/mb_http_output.phpt index 71af8b094d..c3dab5e35f 100644 --- a/ext/mbstring/tests/mb_http_output.phpt +++ b/ext/mbstring/tests/mb_http_output.phpt @@ -47,16 +47,6 @@ $r = mb_http_output('BAD_NAME'); $enc = mb_http_output(); print "$enc\n"; -$r = mb_http_output($t_ary); -($r === NULL) ? print "OK_BAD_ARY_SET\n" : print "NG_BAD_ARY_SET\n"; -$enc = mb_http_output(); -print "$enc\n"; - -$r = mb_http_output($t_obj); -($r === NULL) ? print "OK_BAD_OBJ_SET\n" : print "NG_BAD_OBJ_SET\n"; -$enc = mb_http_output(); -print "$enc\n"; - ?> --EXPECTF-- OK_ASCII_SET @@ -74,11 +64,3 @@ EUC-JP Warning: mb_http_output(): Unknown encoding "BAD_NAME" in %s on line %d OK_BAD_SET EUC-JP - -Warning: mb_http_output() expects parameter 1 to be string, array given in %s on line %d -OK_BAD_ARY_SET -EUC-JP - -Warning: mb_http_output() expects parameter 1 to be string, object given in %s on line %d -OK_BAD_OBJ_SET -EUC-JP |
