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.
Decimal | Hex | Character | Description |
---|---|---|---|
0 | 00 | Null | |
1 | 01 | Start of Heading | |
2 | 02 | Start of Text | |
3 | 03 | End of Text | |
4 | 04 | End of Transmission | |
5 | 05 | Enquiry | |
6 | 06 | Acknowledge | |
7 | 07 | Bell | |
8 | 08 | Backspace | |
9 | 09 | Character Tabulation | |
10 | 0A | Line Feed | |
11 | 0B | Line Tabulation | |
12 | 0C | Form Feed | |
13 | 0D | Carriage Return | |
14 | 0E | Shift Out | |
15 | 0F | Shift In | |
16 | 10 | Datalink Escape | |
17 | 11 | Device Control One | |
18 | 12 | Device Control Two | |
19 | 13 | Device Control Three | |
20 | 14 | Device Control Four | |
21 | 15 | Negative Acknowledge | |
22 | 16 | Synchronous Idle | |
23 | 17 | End Of Transmission Block | |
24 | 18 | Cancel | |
25 | 19 | End of Medium | |
26 | 1A | Substitute | |
27 | 1B | Escape | |
28 | 1C | 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.