implicitPublic.test 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. Implicitly public properties and methods
  2. -----
  3. <?php
  4. abstract class A {
  5. var $a;
  6. static $b;
  7. abstract function c();
  8. final function d() {}
  9. static function e() {}
  10. final static function f() {}
  11. function g() {}
  12. }
  13. -----
  14. array(
  15. 0: Stmt_Class(
  16. type: 16
  17. name: A
  18. extends: null
  19. implements: array(
  20. )
  21. stmts: array(
  22. 0: Stmt_Property(
  23. type: 0
  24. props: array(
  25. 0: Stmt_PropertyProperty(
  26. name: a
  27. default: null
  28. )
  29. )
  30. )
  31. 1: Stmt_Property(
  32. type: 8
  33. props: array(
  34. 0: Stmt_PropertyProperty(
  35. name: b
  36. default: null
  37. )
  38. )
  39. )
  40. 2: Stmt_ClassMethod(
  41. type: 16
  42. byRef: false
  43. name: c
  44. params: array(
  45. )
  46. returnType: null
  47. stmts: null
  48. )
  49. 3: Stmt_ClassMethod(
  50. type: 32
  51. byRef: false
  52. name: d
  53. params: array(
  54. )
  55. returnType: null
  56. stmts: array(
  57. )
  58. )
  59. 4: Stmt_ClassMethod(
  60. type: 8
  61. byRef: false
  62. name: e
  63. params: array(
  64. )
  65. returnType: null
  66. stmts: array(
  67. )
  68. )
  69. 5: Stmt_ClassMethod(
  70. type: 40
  71. byRef: false
  72. name: f
  73. params: array(
  74. )
  75. returnType: null
  76. stmts: array(
  77. )
  78. )
  79. 6: Stmt_ClassMethod(
  80. type: 0
  81. byRef: false
  82. name: g
  83. params: array(
  84. )
  85. returnType: null
  86. stmts: array(
  87. )
  88. )
  89. )
  90. )
  91. )