PHP | IntlChar getCombiningClass() Function Last Updated : 04 Nov, 2020 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: http://php.net/manual/en/intlchar.getcombiningclass.php Comment More infoAdvertise with us Next Article PHP | IntlChar getCombiningClass() Function V vijay_raj Follow Improve Article Tags : Misc Web Technologies PHP PHP-function PHP-Intl +1 More Practice Tags : Misc Similar Reads PHP | IntlChar getPropertyName() Function The IntlChar::getPropertyName() function is an inbuilt function in PHP which is used to get the Unicode name for a given property which is given in the Unicode database file PropertyAliases.txt. This function maps the property IntlChar::PROPERTY_GENERAL_CATEGORY_MASK to the synthetic names "gcm" / " 2 min read PHP | IntlChar getBlockCode() Function The IntlChar::getBlockCode() function is an inbuilt function in PHP which is used to get the Unicode allocation block containing the code point. This function returns the Unicode allocation block that contains the character. Syntax: int IntlChar::getBlockCode ( $codepoint ) Parameters: This function 2 min read PHP | IntlChar getUnicodeVersion() Function The IntlChar::getUnicodeVersion() function is an inbuilt function in PHP which is used to get the Unicode version. The Unicode standard version information is filled into an array. For example, Unicode version 2.2.1 is represented as an array with the values [2, 2, 1, 0]. Syntax: array IntlChar::get 1 min read PHP | IntlChar getBidiPairedBracket() Function The IntlChar::getBidiPairedBracket() function is an inbuilt function in PHP which is used to get the paired bracket character for a code point. This function mapped with paired bracket. If the character has no pair bracket then it returns the character itself. Syntax: IntlChar::getBidiPairedBracket 2 min read PHP | IntlChar getIntPropertyMinValue() Function The IntlChar::getIntPropertyMinValue() function is an inbuilt function in PHP which is used to get the minimum value for a Unicode property. This could be used to access the information as well as manipulating the Unicode characters. For an enumerated/integer/binary Unicode property, this is going t 1 min read Like