mb_chr

(PHP 7 >= 7.2.0, PHP 8)

mb_chrGet a specific character

Description

mb_chr ( int $codepoint , string|null $encoding = null ) : string|false

Warning

This function is currently not documented; only its argument list is available.

Parameters

codepoint

encoding

Return Values

Returns a specific character or false on failure.

Changelog

Version Description
8.0.0 encoding is nullable now.

See Also

  • mb_ord() - Get code point of character
  • chr() - Generate a single-byte string from a number