notBraced.test 712 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. Semicolon style namespaces
  2. -----
  3. <?php
  4. namespace Foo\Bar;
  5. foo;
  6. namespace Bar;
  7. bar;
  8. -----
  9. array(
  10. 0: Stmt_Namespace(
  11. name: Name(
  12. name: Foo\Bar
  13. )
  14. stmts: array(
  15. 0: Stmt_Expression(
  16. expr: Expr_ConstFetch(
  17. name: Name(
  18. name: foo
  19. )
  20. )
  21. )
  22. )
  23. )
  24. 1: Stmt_Namespace(
  25. name: Name(
  26. name: Bar
  27. )
  28. stmts: array(
  29. 0: Stmt_Expression(
  30. expr: Expr_ConstFetch(
  31. name: Name(
  32. name: bar
  33. )
  34. )
  35. )
  36. )
  37. )
  38. )