|
PHP5中文手册
ord(PHP 4, PHP 5) ord — Return ASCII value of character 说明
int ord
( string $string
)
Returns the ASCII value of the first character of string . This function complements chr(). 参数
返回值Returns the ASCII value as an integer. 范例
Example#1 ord() example
<?php |