strip_tags

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

説明

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

戻り値

Returns the stripped string.