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