mb_ord() │ WP 7.1.0

Compat function to mimic mb_ord().

Хуков нет.

Возвращает

int|false. The Unicode code point for the first character of string or false on failure.

Использование

mb_ord( $string, $encoding );
$string(строка) (обязательный)
Return the code point at the start of this string.
$encoding("UTF-8"|null)
Must be 'UTF-8' or null.
По умолчанию: null

Заметки

Смотрите: _mb_ord()

Список изменений

С версии 7.1.0 Введена.

Код mb_ord() WP 7.1.4

function mb_ord( $string, $encoding = null ) {
	return _mb_ord( $string, $encoding );
}