|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-11-10 13:42 UTC] derick@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 05:00:02 2025 UTC |
For example: PHP-code <? header("Content-type: text/plain"); echo strip_tags("the 5<6 but 5>4"); ?> will produce the 54 I think, that strip_tags() "think", that "<6 but 5>" is normal HTML-tag, but this not true. More examples: echo strip_tags("start <32423423423> end"); echo strip_tags("start <????>not inside tag</????> end"); EXCLUSIVE example: echo strip_tags('<IMG src="..." alt="next >>">'); It will produce >">