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.