view vendor/nikic/php-parser/test/code/parser/stmt/namespace/nsAfterHashbang.test @ 19:fa3358dc1485 tip

Add ndrum files
author Chris Cannam
date Wed, 28 Aug 2019 13:14:47 +0100
parents 4c8ae668cc8c
children
line wrap: on
line source
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(
        )
    )
)