ORD
Convert the first byte of a string to a value between 0 and 255
SYNTAX
ord ( string $string ) : int
PARAMETERS
string
A character.
RETURN
An integer between 0 and 255.
EXAMPLES
STRING
72
1
10
32
44
46
48
57
65
90
97
122
2
byte 0 has value 240
byte 1 has value 159
byte 2 has value 144
byte 3 has value 152