view vendor/nikic/php-parser/test/code/parser/stmt/hashbang.test @ 2:92f882872392

Trusted hosts, + remove migration modules
author Chris Cannam
date Tue, 05 Dec 2017 09:26:43 +0000
parents 4c8ae668cc8c
children 5fb285c0d0e3
line wrap: on
line source
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
    )
)