TypeError thrown

filter_var(): Argument #3 ($options) must be of type array|int, string given