Hash :
38808e64
Author :
Date :
2020-10-13T14:03:42
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
<<<FOO_BAR
Heredoc string
FOO_BAR;
<<<"FOO"
some
content
FOO;
<<<'NOWDOC'
This is a nowdoc string
NOWDOC;
"https://example.com"
" /* not a comment */ "
"multi-line
string"
'multi-line
string'
`multi-line
shell exec string`
----------------------------------------------------
[
["string", [
["delimiter", [
["punctuation", "<<<"], "FOO_BAR"
]],
"\r\nHeredoc string\r\n",
["delimiter", [
"FOO_BAR", ["punctuation", ";"]
]]
]],
["string", [
["delimiter", [
["punctuation", "<<<\""], "FOO", ["punctuation", "\""]
]],
"\r\n\tsome\r\n\tcontent\r\n",
["delimiter", [
"FOO", ["punctuation", ";"]
]]
]],
["string", [
["delimiter", [
["punctuation", "<<<'"], "NOWDOC", ["punctuation", "'"]
]],
"\r\nThis is a nowdoc string\r\n",
["delimiter", [
"NOWDOC", ["punctuation", ";"]
]]
]],
["string", ["\"https://example.com\""]],
["string", ["\" /* not a comment */ \""]],
["string", ["\"multi-line\r\nstring\""]],
["string", "'multi-line\r\nstring'"],
["string", "`multi-line\r\nshell exec string`"]
]
----------------------------------------------------
Checks for strings.