PhpSandbox\PHPSandbox::blacklistGlobal PHP Méthode

blacklistGlobal() public méthode

You can pass a string of global name, or pass an array of the global names to blacklist
public blacklistGlobal ( string | array $name )
$name string | array String of global name or array of global names to blacklist
    public function blacklistGlobal($name)
    {
        if (func_num_args() > 1) {
            return $this->blacklistGlobal(func_get_args());
        }
        return $this->blacklist('globals', $name);
    }
PHPSandbox