IntlChar::charName
IntlChar::charName
(PHP 7)
IntlChar::charName — Retrieve the name of a Unicode character
Description
public static string IntlChar::charName ( mixed $codepoint [, int $nameChoice = IntlChar::UNICODE_CHAR_NAME ] )
Retrieves the name of a Unicode character.
Depending on nameChoice
, the resulting character name is the "modern" name or the name that was defined in Unicode version 1.0. The name contains only "invariant" characters like A-Z, 0-9, space, and '-'. Unicode 1.0 names are only retrieved if they are different from the modern names and if ICU contains the data for them.