@@ -16,18 +16,18 @@ Class IteratorImpl implements Iterator {
16
16
public function current () {}
17
17
public function valid () {}
18
18
}
19
- Class IterarorAggregateImpl implements IteratorAggregate {
19
+ Class IteratorAggregateImpl implements IteratorAggregate {
20
20
public function getIterator () {}
21
21
}
22
22
Class ExtendsIteratorImpl extends IteratorImpl {
23
23
}
24
- Class ExtendsIteratorAggregateImpl extends IterarorAggregateImpl {
24
+ Class ExtendsIteratorAggregateImpl extends IteratorAggregateImpl {
25
25
}
26
26
Class A {
27
27
}
28
28
29
29
$ classes = array ('Traversable ' , 'Iterator ' , 'IteratorAggregate ' , 'ExtendsIterator ' , 'ExtendsIteratorAggregate ' ,
30
- 'IteratorImpl ' , 'IterarorAggregateImpl ' , 'ExtendsIteratorImpl ' , 'ExtendsIteratorAggregateImpl ' , 'A ' );
30
+ 'IteratorImpl ' , 'IteratorAggregateImpl ' , 'ExtendsIteratorImpl ' , 'ExtendsIteratorAggregateImpl ' , 'A ' );
31
31
32
32
foreach ($ classes as $ class ) {
33
33
$ rc = new ReflectionClass ($ class );
@@ -46,7 +46,7 @@ Is IteratorAggregate iterable? bool(false)
46
46
Is ExtendsIterator iterable? bool(false)
47
47
Is ExtendsIteratorAggregate iterable? bool(false)
48
48
Is IteratorImpl iterable? bool(true)
49
- Is IterarorAggregateImpl iterable? bool(true)
49
+ Is IteratorAggregateImpl iterable? bool(true)
50
50
Is ExtendsIteratorImpl iterable? bool(true)
51
51
Is ExtendsIteratorAggregateImpl iterable? bool(true)
52
52
Is A iterable? bool(false)
0 commit comments