IteratorIterator::valid
(PHP 5 >= 5.1.0)
IteratorIterator::valid — Checks if the iterator is valid
Beschreibung
public bool IteratorIterator::valid
( void
)
Checks if the iterator is valid.
Parameter-Liste
Diese Funktion hat keine Parameter.
Rückgabewerte
Returns TRUE if the iterator is valid, otherwise FALSE
Siehe auch
- iterator_count() - Count the elements in an iterator
- IteratorIterator::current() - Get the current value