PHP 8.1.0 RC 2 available for testing


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

FilterIterator::validCheck whether the current element is valid


public FilterIterator::valid(): bool

This function is currently not documented; only its argument list is available.

Checks whether the current element is valid.


This function has no parameters.

Return Values

true if the current element is valid, otherwise false

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top