Validating only alphabetic characters by ctype_alphaBy using ctype_alpha function in php we can check or validate alphabetic characters only. Using this function we can check any input coming from insecure ( or any other ) sources. This function is case insensitive so can't differentiate between lower case and upper case alphabetic characters. Here is the syntax of this function.
bool ctype_alpha($text)Now let us try with some examples.