PHP - Manual: HaruEncoder::getUnicode
2024-12-21
(PECL haru >= 0.0.1)
HaruEncoder::getUnicode — Convert the specified character to unicode
$character
) : intConverts the specified character to unicode.
character
The character code to convert.
发生错误时抛出 HaruException 异常。
官方地址:https://www.php.net/manual/en/haruencoder.getunicode.php