IteratorIterator::__construct

(PHP 5 >= 5.1.0, PHP 7)

IteratorIterator::__constructCreate an iterator from anything that is traversable

说明

public IteratorIterator::__construct ( Traversable $iterator )

Creates an iterator from anything that is traversable.

参数

iterator

The traversable iterator.

返回值

没有返回值。

参见

  • Traversable

相关文章
php arrayobject create a new iterator from an arrayobject instancephp callbackfilteriterator create a filtered iterator from another iteratorphp oci8 函数 returns the next child statement resource from a parent statement resource that has oracle database 12c implicit result setsphp socket 函数 create and bind to a socket from a given addrinfophp socket 函数 create and connect to a socket from a given addrinfophp ssdeep 函数 create a fuzzy hash from a filephp ssdeep 函数 create a fuzzy hash from a stringphp intlbreakiterator create break iterator for boundaries of combining character sequencesphp intlbreakiterator create break iterator for boundaries of code pointsphp intlbreakiterator create break iterator for logically possible line breaksphp intlrulebasedbreakiterator create iterator from rulesetphp intlrulebasedbreakiterator get the largest status value from the break rules that determined the current break positionphp intlrulebasedbreakiterator get the status values from the break rules that determined the current break positionphp iteratoriterator create an iterator from anything that is traversablephp iteratoriterator get the inner iteratorphp mongocommandcursor create a new command cursor from an existing command response documentphp mongocursorinterface checks if there are results that have not yet been sent from the databasephp phar construct a phar archive from an iteratorphp phardata construct a tar or zip archive from an iteratorphp transliterator create transliterator from rules
关注编程学问公众号