« DirectoryIterator::valid
EmptyIterator::current »
PHP Manual
Itérateurs
La classe EmptyIterator
La classe
EmptyIterator
(PHP 5 >= 5.1.0, PHP 7)
Introduction
La classe
EmptyIterator
crée un objet itérateur vide.
Synopsis de la classe
EmptyIterator
implements
Iterator
{
/* Méthodes */
public
current
(
void
) :
mixed
public
key
(
void
) :
scalar
public
next
(
void
) :
void
public
rewind
(
void
) :
void
public
valid
(
void
) :
bool
}
Sommaire
EmptyIterator::current
— La méthode EmptyIterator::current
EmptyIterator::key
— The key() method
EmptyIterator::next
— La méthode EmptyIterator::next
EmptyIterator::rewind
— La méthode EmptyIterator::rewind
EmptyIterator::valid
— La méthode EmptyIterator::valid