phpday 2027 - Call for Papers

Iterator::current

(PHP 5, PHP 7, PHP 8)

Iterator::current — Return the current element

Description

public function Iterator::current(): mixed

Returns the current element.

Parameters

This function has no parameters.

Return Values

Can return any type.

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