strip_tags — Strip HTML and PHP tags from a string

strip_tags ( string $str [, string $allowable_tags ] ) : string
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.


Have Feedback?

Let us know how we can improve this tool.
Share Feedback