Annotation of embedaddon/php/ext/standard/tests/strings/htmlentities14.phpt, revision 1.1.1.1

1.1       misho       1: --TEST--
                      2: htmlentities() test 14 (default_charset / Shift_JIS)
                      3: --INI--
                      4: output_handler=
                      5: mbstring.internal_encoding=pass
                      6: default_charset=Shift_JIS
                      7: --FILE--
                      8: <?php
                      9:        print ini_get('default_charset')."\n";
                     10:        var_dump(htmlentities("\x81\x41\x81\x42\x81\x43", ENT_QUOTES, ''));
                     11: ?>
                     12: --EXPECT--
                     13: Shift_JIS
                     14: string(6) "ABC"

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