ord

 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.