Which one of the following filter is used to filter several variables with the same or different filters?
A
filter_var_array()
B
filter_var()
C
filter_input
D
filter_input_array
Correct Answer: filter_var_array()
The function filter_var_array() can get multiple variables and it optionally filters them. The function is useful for filtering many values without calling filter_var().