2304fd985531334599cd651d9c1e46dbf5dc9103
[yaffs-website] / vendor / nikic / php-parser / test / code / parser / expr / shellExec.test
1 Shell execution
2 -----
3 <?php
4 ``;
5 `test`;
6 `test $A`;
7 `test \``;
8 `test \"`;
9 -----
10 array(
11     0: Expr_ShellExec(
12         parts: array(
13         )
14     )
15     1: Expr_ShellExec(
16         parts: array(
17             0: Scalar_EncapsedStringPart(
18                 value: test
19             )
20         )
21     )
22     2: Expr_ShellExec(
23         parts: array(
24             0: Scalar_EncapsedStringPart(
25                 value: test
26             )
27             1: Expr_Variable(
28                 name: A
29             )
30         )
31     )
32     3: Expr_ShellExec(
33         parts: array(
34             0: Scalar_EncapsedStringPart(
35                 value: test `
36             )
37         )
38     )
39     4: Expr_ShellExec(
40         parts: array(
41             0: Scalar_EncapsedStringPart(
42                 value: test \"
43             )
44         )
45     )
46 )