Annotation of embedaddon/php/ext/standard/tests/strings/bug43927.phpt, revision 1.1.1.1
1.1 misho 1: --TEST--
2: Bug #43927 (koi8r is missing from html_entity_decode())
3: --FILE--
4: <?php
5: var_dump(html_entity_decode("&lt;", ENT_COMPAT, 'koi8-r'));
6: var_dump(html_entity_decode("&#38;", ENT_COMPAT, 'koi8-r'));
7: var_dump(html_entity_decode("&#38;lt;", ENT_COMPAT, 'koi8-r'));
8: ?>
9: --EXPECT--
10: string(4) "<"
11: string(5) "&"
12: string(8) "&lt;"
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>