countable_class_basic1.phpt 572 B

12345678910111213141516171819202122232425262728293031323334353637
  1. --TEST--
  2. SPL: Test shape of interface Countable.
  3. --SKIPIF--
  4. <?php
  5. // Skip the test case if Standard PHP Library(spl) is not installed
  6. if( !extension_loaded('spl'))
  7. {
  8. die('skip spl is not installed');
  9. }
  10. ?>
  11. --FILE--
  12. <?php
  13. ReflectionClass::export('Countable');
  14. ?>
  15. --EXPECTF--
  16. Interface [ <internal%s> interface Countable ] {
  17. - Constants [0] {
  18. }
  19. - Static properties [0] {
  20. }
  21. - Static methods [0] {
  22. }
  23. - Properties [0] {
  24. }
  25. - Methods [1] {
  26. Method [ <internal%s> abstract public method count ] {
  27. - Parameters [0] {
  28. }
  29. }
  30. }
  31. }