This class can validate and filter request input values.
It provides several static functions that can take a request method name and a request variable name to perform validation according to different rules.
These functions return objects of the FilterInputValidate class so you can set additional validation options.
Currently it provides functions to validate values using regular expressions, integers, booleans, URLs, check if a value is defined, and a custom validation function supported by the PHP filter_input extension. |