Function escape
Escape HTML special characters.
HTML special characters are escaped using the htmlspecialchars() function with the ENT_COMPAT flag.
Parameters summary
string |
$str |
The string to escape. |
string |
$charset = CHARSET |
<p>The charset of the string to escape. Defaults to ICanBoogie\CHARSET (utf-8).</p> |
Return value summary
string
|
string |