php function to check if an input is alphabet or not in php code example Example: if is alphabet php ctype_alpha ( string $text ) : bool