update 1.0.8.0
Commits for version update
This commit is contained in:
23
vendor/nikic/php-parser/test/code/prettyPrinter/expr/stringEscaping.test
vendored
Normal file
23
vendor/nikic/php-parser/test/code/prettyPrinter/expr/stringEscaping.test
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
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
|
||||
;
|
Reference in New Issue
Block a user