mirror of
https://github.com/phabelio/PHP-Parser.git
synced 2024-12-14 18:16:06 +01:00
eb73441032
Fixes issue #243.
22 lines
319 B
Plaintext
22 lines
319 B
Plaintext
Hashbang followed by namespace declaration
|
|
-----
|
|
#!/usr/bin/env php
|
|
<?php
|
|
|
|
namespace A;
|
|
-----
|
|
array(
|
|
0: Stmt_InlineHTML(
|
|
value: #!/usr/bin/env php
|
|
|
|
)
|
|
1: Stmt_Namespace(
|
|
name: Name(
|
|
parts: array(
|
|
0: A
|
|
)
|
|
)
|
|
stmts: array(
|
|
)
|
|
)
|
|
) |