Function __global->ocp_is_escaped
Definitions
sources_custom/phpstub.php
- Check whether a given string has been marked as 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
- Returns: bool
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $in | string | No | No | required parameter | N/A | N/A | The string to check for escaping |
Returns
- Whether the string has been escaped by OCP's PHP-dev
- Type: boolean
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Check whether a given string has been marked as 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 check for escaping
* @return boolean Whether the string has been escaped by OCP's PHP-dev
*/
function ocp_is_escaped(string $in) : bool
* Check whether a given string has been marked as 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 check for escaping
* @return boolean Whether the string has been escaped by OCP's PHP-dev
*/
function ocp_is_escaped(string $in) : bool

