IteratorIterator::valid
(PHP 5 >= 5.1.0, PHP 7, PHP 8)
IteratorIterator::valid — Checks if the current element is valid
Description
Checks whether the current element is valid.
Parameters
This function has no parameters.
See Also
- iterator_count() - Count the elements in an iterator
- IteratorIterator::current() - Get the current value
来源:PHP Documentation Group · 作者与贡献记录 · CC BY 3.0。离线整理了版式、链接和媒体显示。
