HaruEncoder
PHP 手册

HaruEncoder::getUnicode

(PECL haru >= 0.0.1)

HaruEncoder::getUnicodeConvert the specified character to unicode

说明

int HaruEncoder::getUnicode ( int $character )

Converts the specified character to unicode.

参数

character

The character code to convert.

返回值

错误/异常

发生错误时抛出 HaruException 异常。


HaruEncoder
PHP 手册