Iterator::current

(PHP 5, PHP 7, PHP 8)

Iterator::current返回當(dāng)前元素

說明

public Iterator::current(): mixed

返回當(dāng)前元素。

參數(shù)

此函數(shù)沒有參數(shù)。

返回值

可返回任何類型。