Generator::current

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

Generator::current返回当前产生的值

说明

publicGenerator::current(): mixed

参数

此函数没有参数。

返回值

返回当前产生的值。

To Top