PhpSandbox\PHPSandbox::blacklistOperator PHP Méthode

blacklistOperator() public méthode

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