gnu-social/vendor/nikic/php-parser/test/code/parser/expr/shellExec.test

38 lines
545 B
Plaintext
Raw Normal View History

2020-08-07 23:42:38 +01:00
Shell execution
-----
<?php
``;
`test`;
`test $A`;
`test \``;
`test \"`;
-----
array(
0: Expr_ShellExec(
parts: array(
)
)
1: Expr_ShellExec(
parts: array(
0: test
)
)
2: Expr_ShellExec(
parts: array(
0: test
1: Expr_Variable(
name: A
)
)
)
3: Expr_ShellExec(
parts: array(
0: test `
)
)
4: Expr_ShellExec(
parts: array(
0: test \"
)
)
)