菜谱项目

abstract.test 841B

123456789101112131415161718192021222324252627282930313233343536373839
  1. Abstract class
  2. -----
  3. <?php
  4. abstract class A {
  5. public function a() {}
  6. abstract public function b();
  7. }
  8. -----
  9. array(
  10. 0: Stmt_Class(
  11. flags: MODIFIER_ABSTRACT (16)
  12. name: A
  13. extends: null
  14. implements: array(
  15. )
  16. stmts: array(
  17. 0: Stmt_ClassMethod(
  18. flags: MODIFIER_PUBLIC (1)
  19. byRef: false
  20. name: a
  21. params: array(
  22. )
  23. returnType: null
  24. stmts: array(
  25. )
  26. )
  27. 1: Stmt_ClassMethod(
  28. flags: MODIFIER_PUBLIC | MODIFIER_ABSTRACT (17)
  29. byRef: false
  30. name: b
  31. params: array(
  32. )
  33. returnType: null
  34. stmts: null
  35. )
  36. )
  37. )
  38. )