mirror of
https://github.com/phabelio/PHP-Parser.git
synced 2024-11-27 04:24:43 +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
|
|
; |