菜谱项目

implicitPublic.test 2.2KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  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. flags: MODIFIER_ABSTRACT (16)
  17. name: A
  18. extends: null
  19. implements: array(
  20. )
  21. stmts: array(
  22. 0: Stmt_Property(
  23. flags: 0
  24. props: array(
  25. 0: Stmt_PropertyProperty(
  26. name: a
  27. default: null
  28. )
  29. )
  30. )
  31. 1: Stmt_Property(
  32. flags: MODIFIER_STATIC (8)
  33. props: array(
  34. 0: Stmt_PropertyProperty(
  35. name: b
  36. default: null
  37. )
  38. )
  39. )
  40. 2: Stmt_ClassMethod(
  41. flags: MODIFIER_ABSTRACT (16)
  42. byRef: false
  43. name: c
  44. params: array(
  45. )
  46. returnType: null
  47. stmts: null
  48. )
  49. 3: Stmt_ClassMethod(
  50. flags: MODIFIER_FINAL (32)
  51. byRef: false
  52. name: d
  53. params: array(
  54. )
  55. returnType: null
  56. stmts: array(
  57. )
  58. )
  59. 4: Stmt_ClassMethod(
  60. flags: MODIFIER_STATIC (8)
  61. byRef: false
  62. name: e
  63. params: array(
  64. )
  65. returnType: null
  66. stmts: array(
  67. )
  68. )
  69. 5: Stmt_ClassMethod(
  70. flags: MODIFIER_STATIC | MODIFIER_FINAL (40)
  71. byRef: false
  72. name: f
  73. params: array(
  74. )
  75. returnType: null
  76. stmts: array(
  77. )
  78. )
  79. 6: Stmt_ClassMethod(
  80. flags: 0
  81. byRef: false
  82. name: g
  83. params: array(
  84. )
  85. returnType: null
  86. stmts: array(
  87. )
  88. )
  89. )
  90. )
  91. )