phpday 2027 - Call for Papers

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

User Contributed Notes

There are no user contributed notes for this page.
Adding new notes is disabled. Please see the links in the Found A Problem? section.
To Top