<?php$bool = ctype_xdigit ( "AR1012" // string $text);?>
$bool = false
false
#1
ctype_xdigit
("AB10BC99")
#2
("AR1012")
#3
("ab12bc99")