PhpSandbox\PHPSandbox::isBlacklistedMagicConst PHP Méthode

isBlacklistedMagicConst() public méthode

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