This function will return TRUE whenever the iterator is within the array bounds, even if unset() has been called on the current element.(PHP 5 >= 5.3.0, PHP 7)
SplFixedArray::valid — Vérifie si le tableau contient encore un élément
Cette fonctionnalité a été SUPPRIMÉE à partir de PHP 8.0.0.
Vérifie si le tableau contient encore un élément.
Cette fonction ne contient aucun paramètre.
| Version | Description |
|---|---|
| 8.0.0 | Cette fonction a été supprimée. Utilisez SplFixedArray::getIterator() à la place. |
This function will return TRUE whenever the iterator is within the array bounds, even if unset() has been called on the current element.