1--TEST-- 2mb_output_handler() and mbstring.http_output_conv_mimetypes (10) 3--SKIPIF-- 4<?php extension_loaded('mbstring') or die('skip mbstring not available'); ?> 5--INI-- 6mbstring.http_output_conv_mimetypes=html 7--FILE-- 8<?php 9mb_http_output("EUC-JP"); 10header("Content-Type: application/octet-stream"); 11ob_start(); 12ob_start('mb_output_handler'); 13echo "テスト"; 14ob_end_flush(); 15var_dump(bin2hex(ob_get_clean())); 16?> 17--EXPECT-- 18string(18) "e38386e382b9e38388" 19