PhpSandbox\PHPSandbox::isBlacklistedConst PHP Méthode

isBlacklistedConst() public méthode

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