Get the Unicode version

# IntlChar::getUnicodeVersion

(PHP 7)

IntlChar::getUnicodeVersion — Get the Unicode version

### Description

public static IntlChar::getUnicodeVersion ( void ) : array

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

### Liste de paramètres

Cette fonction ne contient aucun paramètre.

### Valeurs de retour

An array containing the Unicode version number.

### Exemples

Exemple #1 Test de différentes propriétés

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

L'exemple ci-dessus va afficher :

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

### Voir aussi

- IntlChar::charAge() - Get the "age" of the code point