« DirectoryIterator::valid
EmptyIterator::current »
PHP Manual
Iteratori
The EmptyIterator class
The EmptyIterator class
(PHP 5 >= 5.1.0, PHP 7)
Introducere
The EmptyIterator class for an empty iterator.
Sinopsisul clasei
EmptyIterator
implements
Iterator
{
/* Metode */
public
current
(
void
) :
mixed
public
key
(
void
) :
scalar
public
next
(
void
) :
void
public
rewind
(
void
) :
void
public
valid
(
void
) :
bool
}
Cuprins
EmptyIterator::current
— The current() method
EmptyIterator::key
— The key() method
EmptyIterator::next
— The next() method
EmptyIterator::rewind
— The rewind() method
EmptyIterator::valid
— The valid() method