countable_class_basic1.phpt 438 B

123456789101112131415161718192021222324252627282930
  1. --TEST--
  2. SPL: Test shape of interface Countable.
  3. --FILE--
  4. <?php
  5. echo new ReflectionClass('Countable');
  6. ?>
  7. --EXPECTF--
  8. Interface [ <internal%s> interface Countable ] {
  9. - Constants [0] {
  10. }
  11. - Static properties [0] {
  12. }
  13. - Static methods [0] {
  14. }
  15. - Properties [0] {
  16. }
  17. - Methods [1] {
  18. Method [ <internal%s> abstract public method count ] {
  19. - Parameters [0] {
  20. }
  21. - Tentative return [ int ]
  22. }
  23. }
  24. }