PHP Double-Quoted String Escape Sequences – String Function

 
Escape sequence                 Character
\n                              Newline (ASCII 10)
\r                              Carriage return (ASCII 13)
\t                              Tab (ASCII 9)
\\                              Backslash
\$                              Dollar sign
\"                              Double quotes
\0 through \777                 Octal value
\x0 through \xFF                Hex value

Enjoyed this post? Share it!

 

Leave a comment

Your email address will not be published.