Annotation of embedaddon/php/ext/mbstring/tests/zend_multibyte-13.phpt, revision 1.1
1.1 ! misho 1: --TEST--
! 2: zend multibyte (13)
! 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=UTF-8
! 12: mbstring.internal_encoding=ISO-8859-1
! 13: --FILE--
! 14: <?php
! 15: var_dump(substr(file_get_contents(__FILE__), __COMPILER_HALT_OFFSET__));
! 16: var_dump(bin2hex("äëüáéú"));
! 17: __halt_compiler();test
! 18: test
! 19: --EXPECT--
! 20: string(10) "test
! 21: test
! 22: "
! 23: string(12) "e4ebfce1e9fa"
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>