function to check for all alphabets in a string in php code example Example: if is alphabet php ctype_alpha ( string $text ) : bool