Appendix B. ASCII Codes

The following table lists the first 128 characters of the ASCII code. PHP allows for ASCII codes ranging from 0 to 255, but above code 127 the representation differs across operating systems.

DecimalHexCharacterDescription
000 Null
101 Start of Heading
202 Start of Text
303 End of Text
404 End of Transmission
505 Enquiry
606 Acknowledge
707 Bell
808 Backspace
909 Character Tabulation
100A Line Feed
110B Line Tabulation
120C Form Feed
130D Carriage Return
140E Shift Out
150F Shift In
1610 Datalink Escape
1711 Device Control One
1812 Device Control Two
1913 Device Control Three
2014 Device Control Four
2115 Negative Acknowledge
2216 Synchronous Idle
2317 End Of Transmission Block
2418 Cancel
2519 End of Medium
261A Substitute
271B Escape
281C File Separator ...

Get Core PHP Programming, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.