Cml\Secure::filterSql PHP Method

filterSql() public static method

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