Appendix A. Escape Sequences
The following codes may be included in strings and have special meaning when printed to the browser or to a file. It is important to note that they do not have special meaning when passed to other functions, such as those communicating with a database or evaluating a regular expression.
Code | Description |
---|---|
\" | Double Quotes |
\\ | Backslash Character |
\n | New Line |
\r | Carriage Return |
\t | Horizontal Tab |
\x00 - \xFF | Hex Characters |
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.