ctype_xdigitCheck for character(s) representing a hexadecimal digit Description
bool ctype_xdigit
( string
$text
)
Checks if all of the characters in the provided string,
Parameters
Return Values
Returns Examples
Example #1 A ctype_xdigit example
<?php The above example will output: The string AB10BC99 consists of all hexadecimal digits. The string AR1012 does not consist of all hexadecimal digits. The string ab12bc99 consists of all hexadecimal digits. Notes
See Also
|