PhpSandbox\PHPSandbox::isBlacklistedGlobal PHP Méthode

isBlacklistedGlobal() public méthode

Check if PHPSandbox instance has blacklisted global name set
public isBlacklistedGlobal ( string $name ) : boolean
$name string String of global $name to query
Résultat boolean Returns true if PHPSandbox instance has blacklisted global $name, false otherwise
    public function isBlacklistedGlobal($name)
    {
        return isset($this->blacklist['globals'][$name]);
    }
PHPSandbox