PHP | IntlChar::isUAlphabetic() Function Last Updated : 05 Nov, 2020 Summarize Comments Improve Suggest changes Share Like Article Like Report The IntlChar::isUAlphabetic() function is an inbuilt function in PHP which is used to check whether the given input character is an Alphabetic Unicode character or not. Syntax: bool IntlChar::isUAlphabetic( $codepoint ) Parameters: This function accepts a single parameter $codepoint which is mandatory. The input parameter is an integer or character, which is encoded as a UTF-8 string. Return Value: If $codepoint is an Alphabetic Unicode Character then returns True, otherwise return False. Below programs illustrate the IntlChar::isUAlphabetic() function in PHP: Program 1: PHP <?php // PHP program to illustrate // IntlChar::isUAlphabetic() function // Input data is character type var_dump(IntlChar::isUAlphabetic("G")); // Input data is string type var_dump(IntlChar::isUAlphabetic("B\n")); // Input data is string type var_dump(IntlChar::isUAlphabetic("Geeksforgeeks")); // Input data is number(multiple digit) var_dump(IntlChar::isUAlphabetic("2018")); // Input data is single digit var_dump(IntlChar::isUAlphabetic("9")); // Input data is floating point number var_dump(IntlChar::isUAlphabetic("10.99")); ?> Output: bool(true) NULL NULL NULL bool(false) NULL Program 2: PHP <?php // PHP code to illustrate IntlChar::isUAlphabetic() // Declare an array $arr $arr = array("Z", "291", "^", " ", "*", "Sudo Placement"); // Loop run for every array element foreach ($arr as $val){ // Check each element as code point data var_dump(IntlChar::isUAlphabetic($val)); } ?> Output: bool(true) NULL bool(false) NULL bool(false) NULL Related Articles: PHP | IntlChar::isUUppercase() FunctionPHP | IntlChar::charDigitValue() FunctionPHP | IntlChar::isspace() FunctionPHP | IntlChar::isWhitespace() Function Reference: http://php.net/manual/en/intlchar.isualphabetic.php Comment More infoAdvertise with us Next Article PHP | IntlChar::isIDPart() Function J jit_t Follow Improve Article Tags : Web Technologies PHP PHP-function PHP-Intl Similar Reads PHP | IntlChar::isalpha() Function The IntlChar::isalpha() function is an inbuilt function in PHP which is used to check the given input is an alphanumeric character or not. Syntax: bool IntlChar::isalpha( $codepoint ) Parameters: The IntlChar::isalpha() function accept single parameter $codepoint which is mandatory. The input parame 1 min read PHP | IntlChar isgraph() Function The IntlChar::isgraph() function is an inbuilt function in PHP which is used to check the code point is a graphic character or not. It returns True for all characters except those with general categories Cc(control codes), Cf(format controls), Cs(surrogates), Cn(unassigned), and Z(separators). Synta 2 min read PHP | IntlChar::isspace() Function The IntlChar::isspace() function is an inbuilt function in PHP which is used to check whether the given input character is a space character or not. Syntax: bool IntlChar::isspace( $codepoint ) Parameters: This function accepts a single parameter $codepoint which is mandatory. The input parameter is 2 min read PHP | IntlChar::isupper() Function The IntlChar::isupper() function is an inbuilt function in PHP which is used to check whether the given input character is an uppercase character or not. Syntax: bool IntlChar::isupper( $codepoint ) Parameters: This function accepts a single parameter $codepoint which is mandatory. The input paramet 2 min read PHP | IntlChar::isIDPart() Function The IntlChar::isIDPart() function is an inbuilt function in PHP which is used to check whether the given input character is permissible in an identifier or not. It is True for characters with general category "L" (Letters), "Nd" (Decimal digits), "Nl" (letters numbers), "Mc" and "Mn"(Combining marks 2 min read PHP IntlChar::isbase() Function PHP IntlChar::isbase() function is an inbuilt function in PHP that is used to check whether the given input data is a base character or not. If the specified code point is a base character then it returns TRUE for general categories "L" (Letters), "N" (numbers), "Mc" (spacing combining marks), and " 2 min read Like