Php/docs/iterator.current

From Get docs

Iterator::current

(PHP 5, PHP 7, PHP 8)

Iterator::currentReturn the current element


Description

abstract public Iterator::current ( ) : mixed

Returns the current element.


Parameters

This function has no parameters.


Return Values

Can return any type.