IntlChar getUnicodeVersion() function in PHP


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) }

Updated on: 31-Dec-2019

14 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements