PhpSandbox\PHPSandbox::isBlacklistedMagicConst PHP Method

isBlacklistedMagicConst() public method

Check if PHPSandbox instance has blacklisted magic constant name set
public isBlacklistedMagicConst ( string $name ) : boolean
$name string String of magic constant $name to query
return 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