Iterator::current
PHP Manual
PHP Manual»Iterator»Iterator::current

Iterator::current

(PHP 5, PHP 7, PHP 8)

Iterator::currentReturn the current element

Опис

public function Iterator::current(): mixed

Returns the current element.

Параметри

У цієї функції немає параметрів.

Значення, що повертаються

Can return any type.

To Top