method

strip_tags

strip_tags(html)
public

Strips all HTML tags from the input, including comments. This uses the html-scanner tokenizer and so it’s HTML parsing ability is limited by that of html-scanner.

Returns the tag free text.

1Note

Replacement

szeryf ยท Feb 5, 20093 thanks