esc()
Escape context specific output
Parameters
Name | Type | Default | Description |
---|---|---|---|
$string * | string |
– | Untrusted data |
$context | string |
'html' |
Location of output (html , attr , js , css , url or xml ) |
Return type
string