PHP 8.4.2 Released!

IteratorIterator::current

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

IteratorIterator::currentGet the current value

Description

public 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

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top