Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
8 Cards in this Set
- Front
- Back
FILTER_VALIDATE_BOOLEAN "boolean" |
Options: default Flags: FILTER_NULL_ON_FAILURE Returns TRUE for "1", "true", "on" and "yes". Returns FALSE otherwise.If FILTER_NULL_ON_FAILURE is set, FALSE is returned only for "0", "false", "off", "no", and "", and NULL is returned for all non-boolean values. |
|
FILTER_VALIDATE_EMAIL "validate_email" |
Options: default Validates whether the value is a valid e-mail address.In general, this validates e-mail addresses against the syntax in RFC 822, with the exceptions that comments and whitespace folding are not supported. |
|
FILTER_VALIDATE_FLOAT "float" |
Options: default, decimal Flags: FILTER_FLAG_ALLOW_THOUSAND Validates value as float, and converts to float on success. |
|
FILTER_VALIDATE_INT "int" |
Options:default, min_range, max_range Flags: FILTER_FLAG_ALLOW_OCTAL, FILTER_FLAG_ALLOW_HEX Validates value as integer, optionally from the specified range, and converts to int on success. |
|
FILTER_VALIDATE_IP "validate_ip" |
Options: default Flags: FILTER_FLAG_IPV4, FILTER_FLAG_IPV6, FILTER_FLAG_NO_PRIV_RANGE, FILTER_FLAG_NO_RES_RANGE Validates value as IP address, optionally only IPv4 or IPv6 or not from private or reserved ranges. |
|
FILTER_VALIDATE_MAC "validate_mac_address" |
Options: default Validates value as MAC address. |
|
FILTER_VALIDATE_REGEXP "validate_regexp" |
Options: default, regexp Validates value against regexp, a Perl-compatible regular expression. |
|
FILTER_VALIDATE_URL "validate_url" |
Options: default Flags: FILTER_FLAG_PATH_REQUIRED, FILTER_FLAG_QUERY_REQUIRED Validates value as URL (according to » http://www.faqs.org/rfcs/rfc2396), optionally with required components. Beware a valid URL may not specify the HTTP protocol http:// so further validation may be required to determine the URL uses an expected protocol, e.g. ssh:// or mailto:. Note that the function will only find ASCII URLs to be valid; internationalized domain names (containing non-ASCII characters) will fail. |