array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'multipleiterator.countiterators.php', 1 => 'MultipleIterator::countIterators', 2 => 'Gets the number of attached iterator instances', ), 'up' => array ( 0 => 'class.multipleiterator.php', 1 => 'MultipleIterator', ), 'prev' => array ( 0 => 'multipleiterator.containsiterator.php', 1 => 'MultipleIterator::containsIterator', ), 'next' => array ( 0 => 'multipleiterator.current.php', 1 => 'MultipleIterator::current', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/spl/multipleiterator/countiterators.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

MultipleIterator::countIterators

(PHP 5 >= 5.3.0, PHP 7, PHP 8)

MultipleIterator::countIteratorsGets the number of attached iterator instances

说明

public MultipleIterator::countIterators(): int

Gets the number of attached iterator instances.

警告

本函数还未编写文档,仅有参数列表。

参数

此函数没有参数。

返回值

The number of attached iterator instances (as an int).

参见