Function __global->htmlentities
Definitions
sources_custom/phpstub.php
- Convert all applicable characters to HTML entities.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: string
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$string | string | required parameter | N/A | N/A | The string to encode |
$quote_style | integer | 2 | N/A | N/A | The quote style (ENT_COMPAT, ENT_QUOTES, ENT_NOQUOTES) |
$charset | string | Blank (empty string) | N/A | N/A | The character set to use |
Return
- The encoded string
- Type: string
- Set: N/A
- Range: N/A