php check if character is alphabetic code example Example: if is alphabet php ctype_alpha ( string $text ) : bool