public isWhitelistedSuperglobal ( string $name, string $key = null ) : boolean | ||
$name | string | String of whitelisted superglobal $name to query |
$key | string | String of whitelisted superglobal $key to query |
Résultat | boolean | Returns true if PHPSandbox instance has whitelisted superglobal key or superglobal, false otherwise |