Return the ASCII value of "h":
The ord() function returns the ASCII value of the first character of a string.
Parameter | Description |
---|---|
string | Required. The string to get an ASCII value from |
Return Value: | Returns the ASCII value as an integer |
---|---|
PHP Version: | 4+ |