php8.5
Home/ Manual/ spl / multipleiterator/ MultipleIterator::countIterators

MultipleIterator::countIterators

PHP function Edit on GitHub ✎

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

Gets the number of attached iterator instances

Description

MultipleIterator::countIterators(): int

Gets the number of attached iterator instances.

Func

Parameters Parameters

Return Values

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

See Also

  • MultipleIterator::containsIterator

Source: reference/spl/multipleiterator/countiterators.xml · from the official PHP manual (php/doc-en)