PHP | IntlChar istitle() Function Last Updated : 16 Feb, 2021 Comments Improve Suggest changes Like Article Like Report The IntlChar::istitle function is an inbuilt function in PHP which is used to check whether the input character code point is a titlecase letter or not. In True cases, the characters with the general category are "Lt" (titlecase letter).Syntax: bool IntlChar::istitle( $codepoint ) Parameters: This function accepts a single parameter $codepoint which is mandatory. The input parameter $codepoint is a character or integer value, which is encoded as a UTF-8 string.Return Value: Returns True, if $codepoint is a titlecase letter, otherwise return False.Below programs illustrate the IntlChar::istitle() Function in PHP:Program 1: php <?php // PHP function to illustrate the //use of IntlChar::istitle() // Input Capital letter codepoint var_dump(IntlChar::istitle("Welcome to Geeks")); // Input Capital letter codepoint var_dump(IntlChar::istitle("\u{03A6}")); // Input Capital letter codepoint var_dump(IntlChar::istitle("?")); // Input int char an identifier // of codepoint value var_dump(IntlChar::istitle("\u{00A0}")); // Input symbolic space codepoint value var_dump(IntlChar::istitle(" ")); // Input symbolic codepoint value var_dump(IntlChar::istitle(" ^ ")); // Input int codepoint value var_dump(IntlChar::istitle("3")); ?> Output: NULL bool(false) bool(false) bool(false) bool(false) NULL bool(false) Program 2: php <?php // PHP function to illustrate the // use of IntlChar::istitle() // Declare an array with // different codepoint value $arr = array("G", "\u{03C6}", "\t", ); // For loop condition to check // each character through function foreach ($arr as $val) { // Check each element as code point data var_dump(IntlChar::istitle($val)); } ?> Output: bool(false) bool(false) bool(false) Reference: https://www.php.net/manual/en/intlchar.istitle.php Comment More infoAdvertise with us Next Article PHP | IntlChar istitle() Function V VigneshKannan3 Follow Improve Article Tags : Web Technologies PHP PHP-Intl Similar Reads PHP | IntlChar::iscntrl() Function The IntlChar::iscntrl() function is an inbuilt function in PHP which is used to check the given input is a control character or not. Control characters are line feed, tab, escape, etc. A control character is one of the following types: ISO 8-bit control character (U+0000..U+001f and U+007f..U+009f)I 2 min read PHP | IntlChar::isdigit() Function The IntlChar::isdigit() function is an inbuilt function in PHP which is used to determine the given input code data is a digited character or not. It returns true when the character is under the general category decimal digit numbers. Beginning with Unicode 4, this is the same as testing for the Num 2 min read PHP | IntlChar::isprint() Function The IntlChar::isprint() function is an inbuilt function in PHP which is used to check whether the given input character is a printable character or not. Syntax: bool IntlChar::isprint( $codepoint ) Parameters: This function accepts a single parameter $codepoint which is mandatory. The input paramete 2 min read PHP | IntlChar::islower() Function The IntlChar::islower() function is an inbuilt function in PHP which is used to check whether the given input character is a lowercase character or not. Syntax: bool IntlChar::islower( $codepoint ) Parameter: This function accepts a single parameter $codepoint which is mandatory. The input parameter 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 PHP | IntlChar::isxdigit() Function The IntlChar::isxdigit() function is an inbuilt function in PHP which is used to check whether the given input character is a hexadecimal digit or not. It is TRUE for decimal digit numbers (0 - 9), Latin letters (a - f) and (A - F) in both ASCII and Fullwidth ASCII (Letters with codepoint \u{0041} t 2 min read PHP | IntlChar::isIDStart() Function The IntlChar::isIDStart() function is an inbuilt function in PHP which is used to check whether the given input character code point is permissible since the first character is an identifier or not. It is True for characters with general category "L" (Letters), and "Nl" (letters numbers). Syntax: bo 2 min read PHP | IntlChar isdefined() Function The IntlChar::isdefined() function is an inbuilt function in PHP which is used to check whether the code point is defined or not. The character is said to be determined if it is assigned a character. It is True for general categories other than Cn (other, not assigned). Syntax: bool IntlChar::isdefi 2 min read PHP | IntlChar::isalnum () Function The IntlChar::isalnum() function is an inbuilt function in PHP which is used to check the given input is an alphanumeric character (Digit or Letter) or not. It returns TRUE for characters with general categories "L" (letters) and "Nd" (decimal digit numbers). Syntax: bool IntlChar::isalnum( $codepoi 2 min read Like