Pattern matching
PHP Manual

Character representations

Character representations
SequenceDescription
\aAlert (bell).
\bBackspace.
\eESC character, \x1b.
\nNewline.
\rCarriage return.
\fForm feed, \x0c.
\tHorizontal tab, \x09.
\vVertical tab, \x0b.
\octCharacter specified by a three-digit octal code.
\xhexCharacter specified by a hex code.
\ccharNamed control character.


Pattern matching
PHP Manual