Cml\Secure::filterSql PHP Метод

filterSql() публичный статический Метод

过滤sql语句
public static filterSql ( $value ) : string
$value
Результат string
    public static function filterSql($value)
    {
        return str_ireplace(["select", 'insert', "update", "delete", "\\'", "\\/\\*", "\\.\\.\\/", "\\.\\/", "union", "into", "load_file", "outfile"], ["", "", "", "", "", "", "", "", "", "", "", ""], $value);
    }