PhpSandbox\PHPSandbox::blacklistConst PHP Méthode

blacklistConst() public méthode

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