Annotation of embedaddon/php/ext/standard/tests/strings/htmlentities09.phpt, revision 1.1.1.2
1.1 misho 1: --TEST--
2: htmlentities() test 9 (mbstring / Shift_JIS)
3: --INI--
4: output_handler=
1.1.1.2 ! misho 5: error_reporting=~E_STRICT
! 6: mbstring.internal_encoding=Shift_JIS
1.1 misho 7: --SKIPIF--
8: <?php
9: extension_loaded("mbstring") or die("skip mbstring not available\n");
10: --FILE--
11: <?php
12: mb_internal_encoding('Shift_JIS');
13: print mb_internal_encoding()."\n";
14: var_dump(bin2hex(htmlentities("\x81\x41\x81\x42\x81\x43", ENT_QUOTES, '')));
15: ?>
16: ===DONE===
17: --EXPECT--
18: SJIS
19: string(12) "814181428143"
20: ===DONE===
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>