Annotation of embedaddon/php/ext/mbstring/tests/zend_multibyte-07.phpt, revision 1.1
1.1 ! misho 1: --TEST--
! 2: zend multibyte (7)
! 3: --SKIPIF--
! 4: <?php
! 5: ini_set("mbstring.script_encoding","SJIS");
! 6: if (ini_set("mbstring.script_encoding","SJIS") != "SJIS") {
! 7: die("skip zend-multibyte is not available");
! 8: }
! 9: ?>
! 10: --INI--
! 11: mbstring.script_encoding=ISO-8859-1
! 12: mbstring.internal_encoding=EUC-JP
! 13: --FILE--
! 14: <?php
! 15: declare(encoding="UTF-8");
! 16: var_dump(bin2hex("ใในใ"));
! 17: ?>
! 18: --EXPECT--
! 19: string(12) "a5c6a5b9a5c8"
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>