Generator
PHP Manual

Generator::current

(PHP 5 >= 5.5.0)

Generator::currentGet the yielded value

Description

public mixed Generator::current ( void )

Parameters

This function has no parameters.

Return Values

Returns the yielded value.


Generator
PHP Manual