ord

Example

 int ord ( string $string ) 

Description

Returns the ASCII value of the first character of string. This function complements chr().

Return Values

Returns the ASCII value as an integer.