Nextrek
@ 1464
Nextrek / Aiba_backup / vendor / nikic / php-parser / test / code / parser / stmt / namespace / outsideStmt.test-fail
1 2 3 4 5 6 7 8 9 10 11 12 13 |
There (mostly) can't be statements outside of namespaces ----- <?php echo 1; namespace A; ----- Namespace declaration statement has to be the very first statement in the script on line 3 ----- <?php namespace A {} echo 1; ----- No code may exist outside of namespace {} on line 3 |
Commits for Nextrek/Aiba_backup/vendor/nikic/php-parser/test/code/parser/stmt/namespace/outsideStmt.test-fail
Revision | Author | Commited | Message |
---|---|---|---|
1464 | MOliva | Tue 13 Oct, 2020 11:16:56 +0000 |