IntlChar::digit

(PHP 7) Get the decimal digit value of a code point for a given radix public static int IntlChar::digit ( string $codepoint [, int $radix = 10 ] ) Returns the decimal digit value of the code point in the specified radix. If the radix is not in the range 2<=radix<=36 or if the value of codepoint is not a valid digit in the specified radix, FALSE is returned. A character is a valid digit if at least one of the followi

IntlChar::chr

(PHP 7) Return Unicode character by code point value public static string IntlChar::chr ( mixed $codepoint ) Returns a string containing the character specified by the Unicode code point value. This function compliments IntlChar::ord(). Parameters: codepoint The integer codepoint value (e.g. 0x2603 for U+2603 SNOWMAN), or the character encoded as a UTF-8 string (e.g. "\u

IntlChar::charType

(PHP 7) Get the general category value for a code point public static int IntlChar::charType ( mixed $codepoint ) Returns the general category value for the code point. Parameters: codepoint The integer codepoint value (e.g. 0x2603 for U+2603 SNOWMAN), or the character encoded as a UTF-8 string (e.g. "\u{2603}") Returns: Returns the general categor

IntlChar::charName

(PHP 7) Retrieve the name of a Unicode character 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 name

IntlChar::charMirror

(PHP 7) Get the "mirror-image" character for a code point public static mixed IntlChar::charMirror ( mixed $codepoint ) Maps the specified character to a "mirror-image" character. For characters with the Bidi_Mirrored property, implementations sometimes need a "poor man's" mapping to another Unicode character (code point) such that the default glyph may serve as the mirror-image of the default glyph of the specified charac

IntlChar::charFromName

(PHP 7) Find Unicode character by name and return its code point value public static int IntlChar::charFromName ( string $characterName [, int $nameChoice = IntlChar::UNICODE_CHAR_NAME ] ) Finds a Unicode character by its name and returns its code point value. The name is matched exactly and completely. If the name does not correspond to a code point, FALSE is returned. A Unicode 1.0 name is matched only if it differs f

IntlChar::charDirection

(PHP 7) Get bidirectional category value for a code point public static int IntlChar::charDirection ( mixed $codepoint ) Returns the bidirectional category value for the code point, which is used in the ยป Unicode bidirectional algorithm (UAX #9). Note: Some unassigned code points have bidi values of R or AL because they are in blocks that are reserved for Right-To-Left scripts. Parameters:

IntlChar::charDigitValue

(PHP 7) Get the decimal digit value of a decimal digit character public static int IntlChar::charDigitValue ( mixed $codepoint ) Returns the decimal digit value of a decimal digit character. Such characters have the general category "Nd" (decimal digit numbers) and a Numeric_Type of Decimal. Parameters: codepoint The integer codepoint value (e.g. 0x2603 for U+2603 SNOWMA

IntlChar::charAge

(PHP 7) Get the "age" of the code point public static array IntlChar::charAge ( mixed $codepoint ) Gets the "age" of the code point. The "age" is the Unicode version when the code point was first designated (as a non-character or for Private Use) or assigned a character. This can be useful to avoid emitting code points to receiving processes that do not accept newer characters. Parameters:

idn_to_utf8

(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.2, PHP 7, PECL idn >= 0.1) Convert domain name from IDNA ASCII to Unicode. string idn_to_utf8 ( string $domain [, int $options = 0 [, int $variant = INTL_IDNA_VARIANT_2003 [, array &$idna_info ]]] ) Procedural style This function converts Unicode domain name from IDNA ASCII-compatible format to plain Unicode, encoded in UTF-8. Parameters: