Iterator
PHP Manual

Iterator::current

(PHP 5, PHP 7)

Iterator::currentReturn the current element

Description

abstract public mixed Iterator::current ( void )

Returns the current element.

Parameters

This function has no parameters.

Return Values

Can return any type.


Iterator
PHP Manual