Open In App
Related Articles

PHP | IntlChar getUnicodeVersion() Function

Improve
Improve
Improve
Like Article
Like
Save Article
Save
Report issue
Report
The IntlChar::getUnicodeVersion() function is an inbuilt function in PHP which is used to get the Unicode version. The Unicode standard version information is filled into an array. For example, Unicode version 2.2.1 is represented as an array with the values [2, 2, 1, 0]. Syntax:
array IntlChar::getUnicodeVersion ( void )
Parameters: This function does not accept any parameters. Return Value: This function returns an array containing the Unicode version number. Below programs illustrate the IntlChar::getUnicodeVersion() function in PHP: Program:
<?php
var_dump(IntlChar::getUnicodeVersion());
?>

                    
Output:
array(4) {
  [0]=>
  int(7)
  [1]=>
  int(0)
  [2]=>
  int(0)
  [3]=>
  int(0)
}
Related Articles: Reference: http://php.net/manual/en/intlchar.getunicodeversion.php

Last Updated : 27 Aug, 2019
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads