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.internal_encoding=UTF-8
7mbstring.http_output_conv_mimetypes=html
8--FILE--
9<?php
10mb_http_output("EUC-JP");
11header("Content-Type: application/octet-stream");
12ob_start();
13ob_start('mb_output_handler');
14echo "テスト";
15ob_end_flush();
16var_dump(bin2hex(ob_get_clean()));
17?>
18--EXPECT--
19string(18) "e38386e382b9e38388"
20