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
 
<InternalIterator::rewindThrowable>
^InternalIteratorLast updated: Mon, 26 Oct 2026

InternalIterator::valid

(PHP 8)

InternalIterator::valid — Check if current position is valid

Description

public function InternalIterator::valid(): bool

Checks if current position is valid.

Parameters

This function has no parameters.

Return Values

Returns whether the current position is valid.


<InternalIterator::rewindThrowable>
^InternalIteratorLast updated: Mon, 26 Oct 2026