003+ object(MyIterator)#2 (0) {
004+ }
005+ In MyIterator::rewind()
006+ In MyIterator::valid()
007+ In MyIterator::current()
008+ In MyIterator::key()
009+ a=>1
010+ In MyIterator::next()
011+ In MyIterator::valid()
012+ In MyIterator::current()
013+ In MyIterator::key()
014+ b=>2
015+ In MyIterator::next()
003- object(MyIterator)#2 (1) {
004- ["storage":"ArrayIterator":private]=>
005- object(ArrayObject)#1 (1) {
006- ["storage":"ArrayObject":private]=>
007- array(3) {
008- ["a"]=>
009- int(1)
010- ["b"]=>
011- int(2)
012- ["c"]=>
013- int(3)
014- }
015- }
016- }
017- In MyIterator::rewind()
019+ c=>3
021- a=>1
022+
023+
024+ --> Access using ArrayIterator:
025+ NULL
026+ string(13) "ArrayIterator"
027+ object(ArrayIterator)#3 (0) {
028+ }
029+ a=>1
030+ b=>2
031+ c=>3
024- In MyIterator::current()
025- In MyIterator::key()
026- b=>2
027- In MyIterator::next()
028- In MyIterator::valid()
029- In MyIterator::current()
030- In MyIterator::key()
031- c=>3
032- In MyIterator::next()
033- In MyIterator::valid()
034-
035-
036- --> Access using ArrayIterator:
037- NULL
038- string(13) "ArrayIterator"
039- object(ArrayIterator)#3 (1) {
040- ["storage":"ArrayIterator":private]=>
041- object(ArrayObject)#1 (1) {
042- ["storage":"ArrayObject":private]=>
043- array(3) {
044- ["a"]=>
045- int(1)
046- ["b"]=>
047- int(2)
048- ["c"]=>
049- int(3)
050- }
051- }
052- }
053- a=>1
054- b=>2
055- c=>3