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