I know, but isn't this better with filter_var?