PhpSandbox\PHPSandbox::deblacklistMagicConst PHP Méthode

deblacklistMagicConst() public méthode

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