Annotation of embedaddon/php/ext/standard/tests/strings/htmlentities.phpt, revision 1.1.1.1
1.1 misho 1: --TEST--
2: HTML entities
3: --INI--
4: output_handler=
5: --FILE--
6: <?php
7: setlocale (LC_CTYPE, "C");
8: $sc_encoded = htmlspecialchars ("<>\"&εΔ\n");
9: echo $sc_encoded;
10: $ent_encoded = htmlentities ("<>\"&εΔ\n");
11: echo $ent_encoded;
12: echo html_entity_decode($sc_encoded);
13: echo html_entity_decode($ent_encoded);
14: ?>
15: --EXPECT--
16: <>"&εΔ
17: <>"&åÄ
18: <>"&εΔ
19: <>"&εΔ
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>