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 ֮���ֵ