This function tries to return a string with all NULL bytes, HTML and PHP tags stripped from a given $str. It uses the same tag stripping state machine as the fgetss() function.

declaration of strip_tags

string strip_tags ( string $str [, string $allowable_tags ] )

test strip_tags online

share strip_tags

comments for strip_tags

be the first

No comments so far for strip_tags(). Leave yours as first below.


Leave your comment