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
 
<IteratorIterator::__constructIteratorIterator::getInnerIterator>
^IteratorIteratorLast updated: Mon, 26 Oct 2026

IteratorIterator::current

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

IteratorIterator::current — Get the current value

Description

public function IteratorIterator::current(): mixed

Get the value of the current element.

Parameters

This function has no parameters.

Return Values

The value of the current element.

See Also


<IteratorIterator::__constructIteratorIterator::getInnerIterator>
^IteratorIteratorLast updated: Mon, 26 Oct 2026