X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Fnikic%2Fphp-parser%2Ftest%2Fcode%2Fparser%2Fstmt%2Fhashbang.test;fp=vendor%2Fnikic%2Fphp-parser%2Ftest%2Fcode%2Fparser%2Fstmt%2Fhashbang.test;h=11c45da60f77936320e4ca586fd46371002d9d28;hp=0000000000000000000000000000000000000000;hb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;hpb=aea91e65e895364e460983b890e295aa5d5540a5 diff --git a/vendor/nikic/php-parser/test/code/parser/stmt/hashbang.test b/vendor/nikic/php-parser/test/code/parser/stmt/hashbang.test new file mode 100644 index 000000000..11c45da60 --- /dev/null +++ b/vendor/nikic/php-parser/test/code/parser/stmt/hashbang.test @@ -0,0 +1,26 @@ +Hashbang line +----- +#!/usr/bin/env php + +#!/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 + ) +)