PHP strip_tags() Function - php string strip tags

Category

Online strip_tags() function - Online PHP functions php string strip tags


strip_tags — Strip HTML and PHP tags from a string This function tries to return a string with all NULL bytes, HTML and PHP tags stripped from a given str.

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.

Return Value: Returns the stripped string. PHP Version: 4+. Changelog: As of PHP 5.3.4, this function ignores self-closing XHTML tags (like) in allow.