diff options
| -rw-r--r-- | ext/reflection/tests/ReflectionClass_isIterateable_001.phpt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/reflection/tests/ReflectionClass_isIterateable_001.phpt b/ext/reflection/tests/ReflectionClass_isIterateable_001.phpt index ca3e4a8e8f..10fa07fc06 100644 --- a/ext/reflection/tests/ReflectionClass_isIterateable_001.phpt +++ b/ext/reflection/tests/ReflectionClass_isIterateable_001.phpt @@ -16,18 +16,18 @@ Class IteratorImpl implements Iterator { public function current() {} public function valid() {} } -Class IterarorAggregateImpl implements IteratorAggregate { +Class IteratorAggregateImpl implements IteratorAggregate { public function getIterator() {} } Class ExtendsIteratorImpl extends IteratorImpl { } -Class ExtendsIteratorAggregateImpl extends IterarorAggregateImpl { +Class ExtendsIteratorAggregateImpl extends IteratorAggregateImpl { } Class A { } $classes = array('Traversable', 'Iterator', 'IteratorAggregate', 'ExtendsIterator', 'ExtendsIteratorAggregate', - 'IteratorImpl', 'IterarorAggregateImpl', 'ExtendsIteratorImpl', 'ExtendsIteratorAggregateImpl', 'A'); + 'IteratorImpl', 'IteratorAggregateImpl', 'ExtendsIteratorImpl', 'ExtendsIteratorAggregateImpl', 'A'); foreach($classes as $class) { $rc = new ReflectionClass($class); @@ -46,7 +46,7 @@ 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 IteratorAggregateImpl iterable? bool(true) Is ExtendsIteratorImpl iterable? bool(true) Is ExtendsIteratorAggregateImpl iterable? bool(true) Is A iterable? bool(false) |
