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--FILE--
6<?php
7mb_http_output("EUC-JP");
8header("Content-Type: application/xhtml+xml");
9ob_start();
10ob_start('mb_output_handler');
11echo "テスト";
12ob_end_flush();
13var_dump(bin2hex(ob_get_clean()));
14?>
15--EXPECT--
16string(12) "a5c6a5b9a5c8"
17