1--TEST--
2mb_output_handler() and mbstring.http_output_conv_mimetypes (3)
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");
10header("Content-Type: application/xhtml+xml");
11ob_start();
12ob_start('mb_output_handler');
13echo "テスト";
14ob_end_flush();
15var_dump(bin2hex(ob_get_clean()));
16?>
17--EXPECT--
18string(12) "a5c6a5b9a5c8"
19