(PHP 5 >= 5.1.0, PHP 7, PHP 8)
EmptyIterator::valid — Checks whether the current element is valid
Checks whether the current element is valid.
Note:
The EmptyIterator is always empty and will never have a valid value. The return value is always
false
.
This function has no parameters.