|
ArrayObject::getIteratorClassGets the iterator classname for the ArrayObject. Description
public string ArrayObject::getIteratorClass
( void
)
Gets the class name of the array iterator that is used by ArrayObject::getIterator(). ParametersThis function has no parameters. Return ValuesReturns the iterator class name that is used to iterate over this object. Examples
Example #1 ArrayObject::getIteratorClass example
<?php The above example will output: string(13) "ArrayIterator" string(15) "MyArrayIterator" |