array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'en', ), 'this' => array ( 0 => 'emptyiterator.valid.php', 1 => 'EmptyIterator::valid', ), 'up' => array ( 0 => 'class.emptyiterator.php', 1 => 'EmptyIterator', ), 'prev' => array ( 0 => 'emptyiterator.rewind.php', 1 => 'EmptyIterator::rewind', ), 'next' => array ( 0 => 'class.filesystemiterator.php', 1 => 'FilesystemIterator', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/spl/emptyiterator/valid.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(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.