PHP 7.1.21 Released

IntlChar::getUnicodeVersion

(PHP 7)

IntlChar::getUnicodeVersionGet 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].

パラメータ

この関数にはパラメータはありません。

返り値

An array containing the Unicode version number.

例1 さまざまなプロパティの例

<?php
var_dump
(IntlChar::getUnicodeVersion());
?>

上の例の出力は以下となります。

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

参考

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top