PHP » GoLang |
login |
register |
about
|
GoLang ArrayObject::setIteratorClass
request it (388)
GoLang replacement for PHP's ArrayObject::setIteratorClass
[edit | history]
PHP ArrayObject::setIteratorClassPHP original manual for ArrayObject::setIteratorClass [ show | php.net ]ArrayObject::setIteratorClass(PHP 5 >= 5.1.0, PHP 7) ArrayObject::setIteratorClass — Sets the iterator classname for the ArrayObject Description
public void ArrayObject::setIteratorClass
( string
$iterator_class
)Sets the classname of the array iterator that is used by ArrayObject::getIterator(). Parameters
Return ValuesNo value is returned. Examples
Example #1 ArrayObject::setIteratorClass() example
<?php The above example will output: MyArrayIterator Object ( [lemons] => 1 [oranges] => 4 [bananas] => 5 [apples] => 10 ) |
more
Recently updated
more
Most requested
more
Last requests
|