mb_chr()
function mb_chr(int $codepoint, ?string $encoding = null): string|false
Encodes a Unicode codepoint, or returns false when it cannot be represented.
Parameters:
$codepoint(int)$encoding(?string), defaultnull, optional
Returns: string|false
Availability
| Compiled (AOT) | Magician (eval) |
|---|---|
| Available | Available |
No examples yet. Check examples/ and showcases/ for usage patterns.
Internals
For how mb_chr is implemented in the compiler, see the internals page.