PhpSandbox\PHPSandbox::dewhitelistMagicConst PHP Méthode

dewhitelistMagicConst() public méthode

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