PHP | IntlChar getCombiningClass() Function Last Updated : 11 Jul, 2025 Comments Improve Suggest changes Like Article Like Report The IntlChar::getCombiningClass() function is an inbuilt function in PHP which is used to get the combining class of the code point.Syntax: int IntlChar::getCombiningClass ( $codepoint ) Parameters: This function accepts a single parameter $codepoint which is mandatory. The $codepoint value is an integer values or character, which is encoded as a UTF-8 string.Return Value: This function returns the combining class of the code point. Below programs illustrate the IntlChar::getCombiningClass() function in PHP: Program 1: PHP <?php // PHP function to illustrate // the use of IntlChar::getCombiningClass() // Input data is string type var_dump(IntlChar::getCombiningClass("\p{143}")); // Input data is character type var_dump(IntlChar::getCombiningClass(" ")); // Input data is unicode character type var_dump(IntlChar::getCombiningClass("\u{350}")); // Input data is string type var_dump(IntlChar::getCombiningClass("XYZ")); // Input data is unicode character type var_dump(IntlChar::getCombiningClass("\u{0358}")); ?> Output: NULL int(0) int(230) NULL int(232) Program 2: PHP <?php // PHP code to illustrate IntlChar::getCombiningClass() // Declare an array $arr $arr = array("\u{314}", "GeeksforGeeks", "^", "\u{0324}", "6", "\n"); // Loop run for every array element foreach ($arr as $val){ // Check each element as code point data var_dump(IntlChar::getCombiningClass($val)); } ?> Output: int(230) NULL int(0) int(220) int(0) int(0) Related Articles: PHP | IntlChar charType() FunctionPHP | IntlChar::iscntrl() FunctionPHP | IntlChar::totitle() Function Reference: https://www.php.net/manual/en/intlchar.getcombiningclass.php Create Quiz Comment V vijay_raj Follow 0 Improve V vijay_raj Follow 0 Improve Article Tags : Misc Web Technologies PHP PHP-function PHP-Intl +1 More Explore BasicsPHP Syntax4 min readPHP Variables5 min readPHP | Functions6 min readPHP Loops4 min readArrayPHP Arrays5 min readPHP Associative Arrays4 min readMultidimensional arrays in PHP5 min readSorting Arrays in PHP4 min readOOPs & InterfacesPHP Classes2 min readPHP | Constructors and Destructors5 min readPHP Access Modifiers4 min readMultiple Inheritance in PHP4 min readMySQL DatabasePHP | MySQL Database Introduction4 min readPHP Database connection2 min readPHP | MySQL ( Creating Database )3 min readPHP | MySQL ( Creating Table )3 min readPHP AdvancePHP Superglobals6 min readPHP | Regular Expressions12 min readPHP Form Handling4 min readPHP File Handling4 min readPHP | Uploading File3 min readPHP Cookies9 min readPHP | Sessions7 min read Like