Annotation of embedaddon/php/ext/mbstring/tests/bug45239.phpt, revision 1.1

1.1     ! misho       1: --TEST--
        !             2: Bug #45239 (encoding detector hangs with mbstring.strict_detection enabled)
        !             3: --INI--
        !             4: mbstring.strict_detection=1
        !             5: mbstring.http_input=UTF-8
        !             6: mbstring.internal_encoding=UTF-8
        !             7: --SKIPIF--
        !             8: <?php
        !             9: extension_loaded('mbstring') or die('skip');
        !            10: ?>
        !            11: --FILE--
        !            12: <?php
        !            13: mb_internal_encoding("utf-8");
        !            14: mb_parse_str("a=%fc", $dummy);
        !            15: var_dump(mb_http_input());
        !            16: ?>
        !            17: --EXPECT--
        !            18: string(5) "UTF-8"

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