php[world] 2019 — 25 years of PHP

mb_ord

(PHP 7 >= 7.2.0)

mb_ordGet code point of character

说明

mb_ord ( string $str [, string $encoding ] ) : int

Warning

本函数还未编写文档,仅有参数列表。

参数

str

encoding

返回值

Returns a code point of character 或者在失败时返回 FALSE.

参见

  • mb_chr() - Get a specific character
  • ord() - 转换字符串第一个字节为 0-255 之间的值

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top