filter_var()
The filter_var() function validates and sanitizes a single variable with a specified filter. This is useful for ensuring that input data is safe and correct.