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 之间的值

User Contributed Notes

There are no user contributed notes for this page.

CopyRight © 2008-2022 verySource.Com All Rights reserved. 京ICP备17048824号-1 京公网安备:11010502034788