abstract.test 763 B

12345678910111213141516171819202122232425262728293031323334353637383940
  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. type: 16
  12. name: A
  13. extends: null
  14. implements: array(
  15. )
  16. stmts: array(
  17. 0: Stmt_ClassMethod(
  18. type: 1
  19. byRef: false
  20. name: a
  21. params: array(
  22. )
  23. returnType: null
  24. stmts: array(
  25. )
  26. )
  27. 1: Stmt_ClassMethod(
  28. type: 17
  29. byRef: false
  30. name: b
  31. params: array(
  32. )
  33. returnType: null
  34. stmts: null
  35. )
  36. )
  37. )
  38. )