Error thrown

Call to undefined function ctype_xdigit()