Annotation of embedaddon/php/ext/standard/tests/strings/bug25707.phpt, revision 1.1

1.1     ! misho       1: --TEST--
        !             2: Bug #25707 (html_entity_decode over-decodes <)
        !             3: --FILE--
        !             4: <?php
        !             5: var_dump(html_entity_decode("&amp;lt;", ENT_COMPAT, 'ISO-8859-1'));
        !             6: var_dump(html_entity_decode("&amp;#38;", ENT_COMPAT, 'ISO-8859-1'));
        !             7: var_dump(html_entity_decode("&amp;#38;lt;", ENT_COMPAT, 'ISO-8859-1'));
        !             8: ?>
        !             9: --EXPECT--
        !            10: string(4) "&lt;"
        !            11: string(5) "&#38;"
        !            12: string(8) "&#38;lt;"

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