Properties and Methods


Introduced in Version 2.0


Sanitize a single line of input text. Removes tags, removes newline characters, and truncates length to 1024 characters. This is multibyte safe if your PHP has multibyte support.


  • Posted by Art Armstrong on Apr 13, 2015 7:13 PM

    This also calls 'trim()' when returning so it clears whitespace.

Post Comment