PhpSandbox\PHPSandbox::dewhitelistGlobal PHP Méthode

dewhitelistGlobal() public méthode

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