PhpSandbox\PHPSandbox::dewhitelistConst PHP Méthode

dewhitelistConst() public méthode

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