PhpSandbox\PHPSandbox::blacklistMagicConst PHP Méthode

blacklistMagicConst() public méthode

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