InterviewSolution
Saved Bookmarks
| 1. |
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_arrayI got this question during a job interview.I would like to ask this question from PHP Filter in division Error Handling and Exception Handling in PHP of PHP |
|
Answer» RIGHT answer is (a) filter_var_array() The EXPLANATION: 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(). |
|