Function __global->ocp_mark_as_escaped
Definitions
sources_custom/phpstub.php
- Mark a string as having been escaped (for use with ocp_is_escaped).This function only exists in the dev version of PHP provided by ocProducts in use for XSS detection.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $in | string | No | No | required parameter | N/A | N/A | The string to mark as escaped |
Preview
Code (PHP)
/**
* Mark a string as having been escaped (for use with ocp_is_escaped).This function only exists in the dev version of PHP provided by ocProducts in use for XSS detection.
*
* @param string $in The string to mark as escaped
*/
function ocp_mark_as_escaped(string $in)
* Mark a string as having been escaped (for use with ocp_is_escaped).This function only exists in the dev version of PHP provided by ocProducts in use for XSS detection.
*
* @param string $in The string to mark as escaped
*/
function ocp_mark_as_escaped(string $in)

