php-parser/test/code/parser/stmt/hashbang.test

26 lines
357 B
Plaintext
Raw Normal View History

2015-03-14 19:52:37 +01:00
Hashbang line
-----
#!/usr/bin/env php
<?php
echo "foobar";
?>
#!/usr/bin/env php
-----
array(
0: Stmt_InlineHTML(
value: #!/usr/bin/env php
)
1: Stmt_Echo(
exprs: array(
0: Scalar_String(
value: foobar
)
)
)
2: Stmt_InlineHTML(
value: #!/usr/bin/env php
)
2017-01-19 22:25:22 +01:00
)