Function __global->get_html_translation_table
Definitions
sources_custom/phpstub.php
- Returns the translation table used by htmlspecialchars and htmlentities.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: array
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$table | integer | required parameter | N/A | N/A | The table to select (HTML_ENTITIES or HTML_SPECIALCHARS) |
$quote_style | integer | 2 | N/A | N/A | The quote style (ENT_QUOTES or ENT_NOQUOTES or ENT_COMPAT) |
$charset | string | utf-8 | N/A | N/A | The character set to use |
Return
- The translation table
- Type: array
- Set: N/A
- Range: N/A