Generator::current

(PHP 5 >= 5.5.0)

Generator::currentGet the yielded value

Описание

public mixed Generator::current ( void )

Список параметров

У этой функции нет параметров.

Возвращаемые значения

Returns the yielded value.

Коментарии

Автор:
current() advances untouched generator, same as next(), it makes the first step/iteration. the following calls will not.

non-yielded value will be NULL
2021-11-12 04:41:57
http://php5.kiev.ua/manual/ru/generator.current.html

    Поддержать сайт на родительском проекте КГБ