IntlChar::getUnicodeVersion

IntlChar::getUnicodeVersion

(PHP 7)

IntlChar::getUnicodeVersionGet the Unicode version

Description

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].

Parameters

This function has no parameters.

Return Values

An array containing the Unicode version number.

Examples

Example #1 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

© 1997–2017 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://secure.php.net/manual/en/intlchar.getunicodeversion.php

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部