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 |
The charset of the string to escape. Defaults to ICanBoogie\CHARSET (utf-8). |
Return value summary
string
|