Annotation of embedaddon/php/ext/standard/tests/strings/strip_tags.phpt, revision 1.1.1.1
1.1 misho 1: --TEST--
2: strip_tags() function
3: --FILE--
4: <?php
5: echo strip_tags('NEAT <? cool < blah ?> STUFF');
6: echo "\n";
7: echo strip_tags('NEAT <? cool > blah ?> STUFF');
8: echo "\n";
9: echo strip_tags('NEAT <!-- cool < blah --> STUFF');
10: echo "\n";
11: echo strip_tags('NEAT <!-- cool > blah --> STUFF');
12: echo "\n";
13: echo strip_tags('NEAT <? echo \"\\\"\"?> STUFF');
14: echo "\n";
15: echo strip_tags('NEAT <? echo \'\\\'\'?> STUFF');
16: echo "\n";
17: echo strip_tags('TESTS ?!!?!?!!!?!!');
18: echo "\n";
19: ?>
20: --EXPECT--
21: NEAT STUFF
22: NEAT STUFF
23: NEAT STUFF
24: NEAT STUFF
25: NEAT STUFF
26: NEAT STUFF
27: TESTS ?!!?!?!!!?!!
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>