For me this does not work either. `ctype_digit` does not accept `int`s.