mirror of
https://github.com/php/php-src.git
synced 2024-10-14 04:52:33 +00:00
66a50c5373
sent/printed. @ Added ob_flush_all() that flushes all buffers. (Yasuo)
14 lines
287 B
PHP
14 lines
287 B
PHP
<?php
|
|
// TODO: Do real test
|
|
|
|
// EUC-JP
|
|
$euc_jp = "テスト用日本語文字列。このモジュールはPHPにマルチバイト関数を提供します。";
|
|
mb_http_output('EUC-JP') or print("mb_http_output() failed\n");
|
|
ob_start('mb_output_handler');
|
|
echo $euc_jp;
|
|
$output = ob_get_clean();
|
|
|
|
var_dump( $output );
|
|
|
|
?>
|