--TEST-- ReflectionClass::isIterateable() --CREDITS-- Robin Fernandes Steve Seear --FILE-- isIterateable()); } echo "\nTest static invocation:\n"; ReflectionClass::isIterateable(); ?> --EXPECTF-- Is Traversable iterable? bool(false) Is Iterator iterable? bool(false) Is IteratorAggregate iterable? bool(false) Is ExtendsIterator iterable? bool(false) Is ExtendsIteratorAggregate iterable? bool(false) Is IteratorImpl iterable? bool(true) Is IterarorAggregateImpl iterable? bool(true) Is ExtendsIteratorImpl iterable? bool(true) Is ExtendsIteratorAggregateImpl iterable? bool(true) Is A iterable? bool(false) Test static invocation: Fatal error: Uncaught Error: Non-static method ReflectionClass::isIterateable() cannot be called statically in %s:%d Stack trace: #0 {main} thrown in %s on line %d