AppendIterator::current

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

AppendIterator::currentGets the current value

說明

public AppendIterator::current(): mixed

Gets the current value.

參數(shù)

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

返回值

The current value if it is valid or null otherwise.

參見