在线文档教程
PHP
SPL/Iterators

MultipleIterator::countIterators

MultipleIterator::countIterators

(PHP 5 >= 5.3.0, PHP 7)

MultipleIterator::countIterators — Gets the number of attached iterator instances

Description

public int MultipleIterator::countIterators ( void )

Gets the number of attached iterator instances.

Warning

This function is currently not documented; only its argument list is available.

Parameters

This function has no parameters.

Return Values

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

See Also

  • MultipleIterator::containsIterator() - Checks if an iterator is attached

← MultipleIterator::containsIterator

MultipleIterator::current →

© 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

https://secure.php.net/manual/en/multipleiterator.countiterators.php