The IntlChar getCombiningClass() function is used to get the combining class of the value val.
Syntax
int IntlChar::getCombiningClass (val)
Parameters
val − An integer or character encoded as a UTF-8 string.
Return
The IntlChar getCombiningClass() function returns the combining class of the value val.
Example
The following is an example −
<?php
var_dump(IntlChar::getCombiningClass(" "));
echo "<br>";
var_dump(IntlChar::getCombiningClass("PQRST"));
?>Output
The following is the output −
int(0) NULL