1--TEST-- 2SPL: 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 13ReflectionClass::export('Countable'); 14?> 15--EXPECTF-- 16Interface [ <internal%s> interface Countable ] { 17 18 - Constants [0] { 19 } 20 21 - Static properties [0] { 22 } 23 24 - Static methods [0] { 25 } 26 27 - Properties [0] { 28 } 29 30 - Methods [1] { 31 Method [ <internal%s> abstract public method count ] { 32 33 - Parameters [0] { 34 } 35 } 36 } 37} 38