IntlChar::getUnicodeVersion

(PHP 7)
Get the Unicode version
public static array IntlChar::getUnicodeVersion ( void )

Gets the Unicode version information.

The version array is filled in with the version information for the Unicode standard that is currently used by ICU. For example, Unicode version 3.1.1 is represented as an array with the values [3, 1, 1, 0].

Returns:

An array containing the Unicode version number.

Examples:
Testing different properties
<?php
var_dump(IntlChar::getUnicodeVersion());
?>

The above example will output:

array(4) {
  [0]=>
  int(7)
  [1]=>
  int(0)
  [2]=>
  int(0)
  [3]=>
  int(0)
}
See also:

IntlChar::charAge() -

doc_php
2016-02-24 15:58:12
Comments
Leave a Comment

Please login to continue.