Error thrown

Call to undefined function ctype_digit()