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

1.1       misho       1: --TEST--
                      2: Bug #40637 (strip_tags() does not handle single quotes correctly)
                      3: --FILE--
                      4: <?php
                      5: 
                      6: $html = '<span title="Bug \' Trigger">Text</span>';
                      7: var_dump(strip_tags($html));
                      8: 
                      9: echo "Done\n";
                     10: ?>
                     11: --EXPECTF--    
                     12: string(4) "Text"
                     13: Done

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