Annotation of embedaddon/php/ext/mbstring/tests/zend_multibyte-09.phpt, revision 1.1.1.2
1.1 misho 1: --TEST--
2: zend multibyte (9)
3: --SKIPIF--
1.1.1.2 ! misho 4: --XFAIL--
! 5: https://bugs.php.net/bug.php?id=66582
1.1 misho 6: --INI--
1.1.1.2 ! misho 7: zend.multibyte=On
! 8: zend.script_encoding=cp1251
1.1 misho 9: mbstring.internal_encoding=UTF-8
10: --FILE--
11: <?php
12: declare(encoding="EUC-JP");
13: // forcefully interpret an UTF-8 encoded string as EUC-JP and then convert it
14: // back to UTF-8. There should be only a pair of consecutive bytes that is
15: // valid EUC-encoded character "鴻".
16: var_dump(bin2hex("テスト"));
17: ?>
18: --EXPECT--
19: string(16) "3f3f3fe9b4bb3f3f"
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>