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