IntlChar::forDigit
IntlChar::forDigit
(PHP 7)
IntlChar::forDigit — Get character representation for a given digit and radix
Description
public static int IntlChar::forDigit ( int $digit [, int $radix = 10 ] )
Determines the character representation for a specific digit in the specified radix.
If the value of radix is not a valid radix, or the value of digit is not a valid digit in the specified radix, the null character (U+0000) is returned.
The radix argument is valid if it is greater than or equal to 2 and less than or equal to 36. The digit argument is valid if 0 <=