|
mb_chrReturn character by Unicode code point value Description
stringfalse mb_chr(int
$codepoint , stringnull $encoding = null )Returns a string containing the character specified by the Unicode code point value, encoded in the specified encoding. This function complements mb_ord. Parameters
Return Values
A string containing the requested character, if it can be represented in the specified
encoding or Changelog
ExamplesExample #1 Testing different code points
The above example will output: string(1) "A" string(1) "A" string(1) "?" string(1) "?" string(3) "€" bool(false) string(4) "🐘" bool(false) See Also
|