Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<EmptyIterator::rewindFilesystemIterator>
^EmptyIteratorLast updated: Mon, 26 Oct 2026

EmptyIterator::valid

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

EmptyIterator::valid — Checks whether the current element is valid

Description

public function EmptyIterator::valid(): false

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.

Parameters

This function has no parameters.

Return Values

false


<EmptyIterator::rewindFilesystemIterator>
^EmptyIteratorLast updated: Mon, 26 Oct 2026