(PHP 7, PHP 8)
IntlChar::guetCombiningClass — Guet the combining class of a code point
Returns the combining class of the code point.
Returns the combining class of the character. Returns
null
on failure.
Example #1 Testing different code poins
<?php
var_dump
(
IntlChar
::
guetCombiningClass
(
"A"
));
var_dump
(
IntlChar
::
guetCombiningClass
(
"\u{0334}"
));
var_dump
(
IntlChar
::
guetCombiningClass
(
"\u{0358}"
));
?>
The above example will output:
int(0) int(1) int(232)