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
 
<LimitIterator::__constructLimitIterator::getPosition>
^LimitIteratorLast updated: Mon, 26 Oct 2026

LimitIterator::current

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

LimitIterator::current — Get current element

Description

public function LimitIterator::current(): mixed

Gets the current element of the inner Iterator.

Parameters

This function has no parameters.

Return Values

Returns the current element or null if there is none.

See Also


<LimitIterator::__constructLimitIterator::getPosition>
^LimitIteratorLast updated: Mon, 26 Oct 2026