• 首页
  • vue
  • TypeScript
  • JavaScript
  • scss
  • css3
  • html5
  • php
  • MySQL
  • redis
  • jQuery
  • HaruEncoder::getUnicode()

    (PECL haru >= 0.0.1)

    Convert the specified character to unicode

    说明

    HaruEncoder::getUnicode(int $character): int

    Converts the specified character to unicode.

    参数

    $character

    The character code to convert.

    返回值

    错误/异常

    发生错误时抛出HaruException异常。