-
isAlnum
-
Returns TRUE if every character is alphabetic or a digit, FALSE otherwise.
-
isAlpha
-
Returns TRUE if every character is alphabetic, FALSE otherwise.
-
isBetween
-
Returns TRUE if value is greater than or equal to $min and less than or equal to $max, FALSE otherwise. If $inc is set to FALSE, then the value must be strictly greater than $min and strictly less than $max.
-
isCcnum
-
Returns TRUE if it is a valid credit card number format. The optional second argument allows developers to indicate the type.
-
isDate
-
Returns TRUE if value is a valid date, FALSE otherwise. The date is required to be in ISO 8601 format.
-
isDigits
-
Returns TRUE if every character is a digit, FALSE otherwise.
-
isEmail
-
Returns TRUE if value is a valid email format, FALSE otherwise.
-
isFloat
-
Returns TRUE if value is a valid float value, FALSE otherwise.
-
isGreaterThan
-
Returns TRUE if value is greater than $min, FALSE otherwise.
-
isHex
-
Returns TRUE if value is a valid hexadecimal format, FALSE otherwise.
-
isHostname
-
Returns TRUE if value is a valid hostname, FALSE otherwise.
-
isInt
-
Returns TRUE if value is a valid integer value, FALSE otherwise.
-
isIp
-
Returns TRUE if value is a valid IP format, FALSE otherwise.
-
isLessThan
-
Returns TRUE if value is less than $max, FALSE otherwise.
-
isOneOf
-
Returns TRUE if value is one of $allowed, FALSE otherwise.
-
isPhone
-
Returns TRUE if value is a valid phone number format, FALSE otherwise. The optional second argument indicates the country.
-
isRegex
-
Returns TRUE if value matches $pattern, FALSE otherwise. Uses preg_match() for the matching.
-
isUri
-
-
isZip
-
Returns TRUE if value is a valid US ZIP, FALSE otherwise.
-
Input.php
-
-
testAlnum
-
Returns value if every character is alphabetic or a digit, FALSE otherwise.
-
testAlpha
-
Returns value if every character is alphabetic, FALSE otherwise.
-
testBetween
-
Returns value if it is greater than or equal to $min and less than or equal to $max, FALSE otherwise. If $inc is set to FALSE, then the value must be strictly greater than $min and strictly less than $max.
-
testCcnum
-
Returns value if it is a valid credit card number format. The optional second argument allows developers to indicate the type.
-
testDate
-
Returns $value if it is a valid date, FALSE otherwise. The date is required to be in ISO 8601 format.
-
testDigits
-
Returns value if every character is a digit, FALSE otherwise.
-
testEmail
-
Returns value if it is a valid email format, FALSE otherwise.
-
testFloat
-
Returns value if it is a valid float value, FALSE otherwise.
-
testGreaterThan
-
Returns value if it is greater than $min, FALSE otherwise.
-
testHex
-
Returns value if it is a valid hexadecimal format, FALSE otherwise.
-
testHostname
-
Returns value if it is a valid hostname, FALSE otherwise.
-
testInt
-
Returns value if it is a valid integer value, FALSE otherwise.
-
testIp
-
Returns value if it is a valid IP format, FALSE otherwise.
-
testLessThan
-
Returns value if it is less than $max, FALSE otherwise.
-
testOneOf
-
Returns value if it is one of $allowed, FALSE otherwise.
-
testPhone
-
Returns value if it is a valid phone number format, FALSE otherwise. The optional second argument indicates the country.
-
testRegex
-
Returns value if it matches $pattern, FALSE otherwise. Uses preg_match() for the matching.
-
testUri
-
-
testZip
-
Returns value if it is a valid US ZIP, FALSE otherwise.