Annotation of embedaddon/php/ext/mbstring/tests/mb_output_handler_pattern-04.phpt, revision 1.1

1.1     ! misho       1: --TEST--
        !             2: mb_output_handler() and mbstring.http_output_conv_mimetypes (4)
        !             3: --SKIPIF--
        !             4: <?php extension_loaded('mbstring') or die('skip mbstring not available'); ?>
        !             5: --INI--
        !             6: mbstring.internal_encoding=UTF-8
        !             7: --FILE--
        !             8: <?php
        !             9: mb_http_output("EUC-JP");
        !            10: header("Content-Type: application/octet-stream");
        !            11: ob_start();
        !            12: ob_start('mb_output_handler');
        !            13: echo "ใƒ†ใ‚นใƒˆ";
        !            14: ob_end_flush();
        !            15: var_dump(bin2hex(ob_get_clean()));
        !            16: ?>
        !            17: --EXPECT--
        !            18: string(18) "e38386e382b9e38388"

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>