cvs: php4 /ext/iconv/tests ob_iconv_handler.phpt
| From: | Moriyoshi Koizumi | Date: | Sat, 26 Oct 2002 08:45:49 +0000 |
| Subject: | cvs: php4 /ext/iconv/tests ob_iconv_handler.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-15457@lists.php.net to get a copy of this message | ||
moriyoshi Sat Oct 26 04:45:49 2002 EDT
Added files:
/php4/ext/iconv/tests ob_iconv_handler.phpt
Log:
Added a test case for ob_iconv_handler()
Index: php4/ext/iconv/tests/ob_iconv_handler.phpt
+++ php4/ext/iconv/tests/ob_iconv_handler.phpt
--TEST--
ob_output_handler
--SKIPIF--
<?php include('skipif.inc'); ?>
--FILE--
<?php
iconv_set_encoding('internal_encoding', 'EUC-JP');
iconv_set_encoding('output_encoding', 'Shift_JIS');
ob_start('ob_iconv_handler');
print "¤¢¤¤¤¦¤¨¤ª";
ob_end_flush();
?>
--EXPECT--
¢¤¦¨