mirror of
https://github.com/danog/PHP-Parser.git
synced 2024-12-11 08:59:46 +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(
|
|
)
|
|
)
|
|
) |