html_escape($var)
Parameters: |
|
---|---|
Returns: |
HTML escaped string(s) |
Return type: |
mixed |
This function acts as an alias for PHP’s native htmlspecialchars()
function, with the advantage of being able to accept an array of strings.
It is useful in preventing Cross Site Scripting (XSS).
Please login to continue.