The IntlChar getUnicodeVersion() function is used to get the Unicode version.
Syntax
array IntlChar::getUnicodeVersion ()
Parameters
NA
Return
The IntlChar getUnicodeVersion() function returns thearray containing the Unicode version number.
Example
The following is an example −
<?php var_dump(IntlChar::getUnicodeVersion()); ?>
Output
The following is the output −
array(4) { [0]=> int(6) [1]=> int(3) [2]=> int(0) [3]=> int(0) }