-
isAlnum
-
Returns value if every character is alphabetic or a digit, FALSE otherwise.
-
isAlpha
-
Returns value if every character is alphabetic, FALSE otherwise.
-
isBetween
-
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.
-
isCcnum
-
Returns value if it is a valid credit card number format. The optional second argument allows developers to indicate the type.
-
isDate
-
Returns $value if it is a valid date, FALSE otherwise. The date is required to be in ISO 8601 format.
-
isDigits
-
Returns value if every character is a digit, FALSE otherwise.
-
isEmail
-
Returns value if it is a valid email format, FALSE otherwise.
-
isFloat
-
Returns value if it is a valid float value, FALSE otherwise.
-
isGreaterThan
-
Returns value if it is greater than $min, FALSE otherwise.
-
isHex
-
Returns value if it is a valid hexadecimal format, FALSE otherwise.
-
isHostname
-
Returns value if it is a valid hostname, FALSE otherwise.
-
isInt
-
Returns value if it is a valid integer value, FALSE otherwise.
-
isIp
-
Returns value if it is a valid IP format, FALSE otherwise.
-
isLength
-
Returns value if its length is greater than $min and less than $max, FALSE otherwise.
-
isLessThan
-
Returns value if it is less than $max, FALSE otherwise.
-
isName
-
Returns value if it is a valid format for a person's name, FALSE otherwise.
-
isOneOf
-
Returns value if it is one of $allowed, FALSE otherwise.
-
isPhone
-
Returns value if it is a valid phone number format, FALSE otherwise. The optional second argument indicates the country.
-
isRegex
-
Returns value if it matches $pattern, FALSE otherwise. Uses preg_match() for the matching.
-
isUri
-
-
isZip
-
Returns value if it is a valid US ZIP, FALSE otherwise.