Iterator::current

(PHP 5, PHP 7, PHP 8)

Iterator::current返回當前元素

說明

public Iterator::current(): mixed

返回當前元素。

參數

此函數沒有參數。

返回值

可返回任何類型。