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