| 1 |
---input--- |
| 2 |
<?php |
| 3 |
${'whatever'} = ''; |
| 4 |
${$whatever} = ''; |
| 5 |
${${'whatever' . 'whatever'}} = ''; |
| 6 |
|
| 7 |
---tokens--- |
| 8 |
'<?php' Comment.Preproc |
| 9 |
'\n' Text |
| 10 |
|
| 11 |
'${' Name.Variable |
| 12 |
"'whatever'" Literal.String.Single |
| 13 |
'}' Name.Variable |
| 14 |
' ' Text |
| 15 |
'=' Operator |
| 16 |
' ' Text |
| 17 |
"''" Literal.String.Single |
| 18 |
';' Punctuation |
| 19 |
'\n' Text |
| 20 |
|
| 21 |
'${' Name.Variable |
| 22 |
'$whatever' Name.Variable |
| 23 |
'}' Name.Variable |
| 24 |
' ' Text |
| 25 |
'=' Operator |
| 26 |
' ' Text |
| 27 |
"''" Literal.String.Single |
| 28 |
';' Punctuation |
| 29 |
'\n' Text |
| 30 |
|
| 31 |
'${' Name.Variable |
| 32 |
'${' Name.Variable |
| 33 |
"'whatever'" Literal.String.Single |
| 34 |
' ' Text |
| 35 |
'.' Operator |
| 36 |
' ' Text |
| 37 |
"'whatever'" Literal.String.Single |
| 38 |
'}' Name.Variable |
| 39 |
'}' Name.Variable |
| 40 |
' ' Text |
| 41 |
'=' Operator |
| 42 |
' ' Text |
| 43 |
"''" Literal.String.Single |
| 44 |
';' Punctuation |
| 45 |
'\n' Text |