|
ArrayObject::getIteratorCreate a new iterator from an ArrayObject instance Description
public ArrayIterator ArrayObject::getIterator
( void
)
Create a new iterator from an ArrayObject instance. ParametersThis function has no parameters. Return ValuesAn iterator from an ArrayObject. Examples
Example #1 ArrayObject::getIterator example
<?php The above example will output: 1 => one 2 => two 3 => three |