xss_clean() xss_clean(string|array<mixed,string> $str, boolean $is_image = FALSE) : string XSS Clean Parameters string|array<mixed,string> $str Input data boolean $is_image Whether the input is an image Returns string