summaryrefslogtreecommitdiff
path: root/tests/snippets/php/test_backslashes_in_strings.txt
blob: 4bdbeb514da3fe6ae1112bf3c1291c433a37c46e (plain)
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
---input---
<?php
$pipe = popen( "flamegraph.pl --title=\"$title\" > /var/www/html/w/docs/flamegraph.svg", 'w' );

---tokens---
'<?php'       Comment.Preproc
'\n'          Text

'$pipe'       Name.Variable
' '           Text
'='           Operator
' '           Text
'popen'       Name.Builtin
'('           Punctuation
' '           Text
'"'           Literal.String.Double
'flamegraph.pl --title=' Literal.String.Double
'\\"'         Literal.String.Escape
'$title'      Literal.String.Interpol
'\\"'         Literal.String.Escape
' > /var/www/html/w/docs/flamegraph.svg' Literal.String.Double
'"'           Literal.String.Double
','           Punctuation
' '           Text
"'w'"         Literal.String.Single
' '           Text
');'          Punctuation
'\n'          Text