filter_var_array()
to Filter Multiple Variablesfilter_var_array()
to Filter Multiple VariablesThe filter_var_array()
function gets multiple variables and optionally filters them. This is useful for validating and sanitizing an array of input data.