在线文档教程
PHP
SPL/Iterators

MultipleIterator::valid

MultipleIterator::valid

(PHP 5 >= 5.3.0, PHP 7)

MultipleIterator::valid — Checks the validity of sub iterators

Description

public bool MultipleIterator::valid ( void )

Checks the validity of sub iterators.

Warning

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

Parameters

This function has no parameters.

Return Values

Returns TRUE if one or all sub iterators are valid depending on flags, otherwise FALSE

See Also

  • MultipleIterator::__construct() - Constructs a new MultipleIterator

← MultipleIterator::setFlags

NoRewindIterator →

© 1997–2017 The PHP Documentation Group

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

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