filter_var is terrible