mb_chr()WP 7.1.0

Compat function to mimic mb_chr().

No Hooks.

Returns

string|false. A string containing the requested character, if it can be represented in the specified encoding or false on failure.

Usage

mb_chr( $codepoint, $encoding );
$codepoint(int) (required)
A Unicode codepoint value, e.g. 128024 for U+1F418 ELEPHANT.
$encoding("UTF-8"|null)
Must be 'UTF-8' or null.
Default: null

Notes

See: _mb_ord()

Changelog

Since 7.1.0 Introduced.

mb_chr() code WP 7.1

function mb_chr( $codepoint, $encoding = null ) {
	return _mb_chr( $codepoint, $encoding );
}