PHP | IntlChar::isUWhiteSpace() Function Last Updated : 11 Jul, 2025 Summarize Comments Improve Suggest changes Share Like Article Like Report The IntlChar::isUWhiteSpace() function is an inbuilt function in PHP which is used to check whether the given input character is a WhiteSpace Unicode character or not. IntlChar accesses a number utility function and used to access the information about Unicode Characters. Syntax: bool IntlChar::isUWhiteSpace( $codepoint ) Parameters: This function accepts a single parameter $codepoint which is mandatory. The input parameter is a character or integer value, which is encoded as a UTF-8 string. Return Value: If $codepoint is WhiteSpace character then returns True, otherwise returns False. Below programs illustrate the IntlChar::isUWhiteSpace() Function in PHP. Program 1: php <?php // PHP code to illustrate IntlChar::isUWhiteSpace() // function // Input Capital Letter var_dump(IntlChar::isUWhiteSpace("N")); // Input Small Letter var_dump(IntlChar::isUWhiteSpace(" n ")); // Input Whitespace Character "\n " var_dump(IntlChar::isUWhiteSpace("\n")); // Input encoded string var_dump(IntlChar::isUWhiteSpace("\u{00B0}")); ?> Output: bool(false) NULL bool(true) bool(false) Program 2: php <?php // PHP code to IntlChar::isUWhiteSpace() // function // Declare an array $arr $arr = array("X\t", "\n", "^", "\r", "\t\r"); // Loop run for every array element foreach ($arr as $val){ // Check each element as code point data var_dump(IntlChar::isUWhiteSpace($val)); } ?> Output: NULL bool(true) bool(false) bool(true) NULL Related Articles: PHP | IntlChar::isUUppercase() FunctionPHP | IntlChar::isWhitespace() FunctionPHP | IntlChar::charName() Function Reference: https://www.php.net/manual/en/intlchar.isuwhitespace.php Comment More infoAdvertise with us Next Article PHP | IntlChar::isspace() Function J jit_t Follow Improve Article Tags : Web Technologies PHP PHP-function PHP-Intl Similar Reads PHP | IntlChar::isWhitespace() Function The IntlChar::isWhitespace() function is an inbuilt function in PHP which is used to check whether the given input character is a WhiteSpace character or not according to ICU. IntlChar access number utility function and used to access the information about Unicode Characters. The White Space charact 2 min read PHP | IntlChar::isWhitespace() Function The IntlChar::isWhitespace() function is an inbuilt function in PHP which is used to check whether the given input character is a WhiteSpace character or not according to ICU. IntlChar access number utility function and used to access the information about Unicode Characters. The White Space charact 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::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 istitle() Function 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 f 2 min read PHP | IntlChar::isULowercase() Function The IntlChar::isULowercase() function is an inbuilt function in PHP that is used to check whether the given input character is a Lowercase character or not. Syntax: bool IntlChar::isULowercase( $codepoint ) Parameters: This function accepts a single parameter $codepoint which is mandatory. The input 3 min read Like