mirror of
https://github.com/danog/PHP-Parser.git
synced 2024-12-11 08:59:46 +01:00
23 lines
487 B
Plaintext
23 lines
487 B
Plaintext
Escape sequences in double-quoted strings
|
|
-----
|
|
<?php
|
|
"\n\r\t\f\v\$\"\\";
|
|
"@@{ implode(range("\0", "\37")) }@@";
|
|
"\0000\0001";
|
|
|
|
<<<DOC
|
|
\n\r\t\f\v\$\"\\
|
|
@@{ implode(range("\0", "\37")) }@@
|
|
\0000\0001
|
|
DOC;
|
|
|
|
-----
|
|
"\n\r\t\f\v\$\"\\";
|
|
"\0\1\2\3\4\5\6\7\10\t\n\v\f\r\16\17\20\21\22\23\24\25\26\27\30\31\32\33\34\35\36\37";
|
|
"\0000\0001";
|
|
<<<DOC
|
|
@@{ "\n\r" }@@\t\f\v\$\\"\\
|
|
\0\1\2\3\4\5\6\7\10\t@@{ "\n" }@@\v\f@@{ "\r" }@@\16\17\20\21\22\23\24\25\26\27\30\31\32\33\34\35\36\37
|
|
\0000\0001
|
|
DOC
|
|
; |