phpday 2027 - Call for Papers

FilterIterator::valid

(PHP 5 >= 5.1.0, PHP 7, PHP 8)

FilterIterator::valid — Verifica si el elemento actual es válido

Descripción

public function FilterIterator::valid(): bool

Verifica si el elemento actual es válido.

Nota:

La implementación estándar de esta función retornará inicialmente false hasta que el iterador interno se avance al primer elemento aceptado.

Parámetros

Esta función no contiene ningún parámetro.

Valores devueltos

true si el elemento actual es válido, false en caso contrario.

User Contributed Notes

There are no user contributed notes for this page.
Adding new notes is disabled. Please see the links in the Found A Problem? section.
To Top