mirror of
https://github.com/php/php-src.git
synced 2024-12-15 12:54:57 +08:00
Added a test case for ob_iconv_handler()
This commit is contained in:
parent
6537b7b21a
commit
d883bf51df
14
ext/iconv/tests/ob_iconv_handler.phpt
Normal file
14
ext/iconv/tests/ob_iconv_handler.phpt
Normal file
@ -0,0 +1,14 @@
|
||||
--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--
|
||||
あいうえお
|
Loading…
Reference in New Issue
Block a user