Escape
Less than 1 minute
Escape
Escape a string for HTML, URL or quotes.
Methods
run
public run(string $string, string $format = 'html', string $character_encoding = 'ISO-8859-1'): string
Parameters
Parameter | Type | Description |
---|---|---|
$string | string | The string to escape |
$format | string | The format to escape the string to. Can be 'html', 'url' or 'quotes'. |
$character_encoding | string | The character encoding to use |
Generated by Hazaar API Doc Generator