PHP Manual
Language Reference
Predefined Interfaces and Classes
Generator
Generator::current
Generator::getReturn
Generator::key
Generator::next
Generator::rewind
Generator::send
Generator::throw
Generator::valid
Generator::__wakeup
Generator
Generator::getReturn
Generator
PHP Manual
Generator::current
Get the yielded value
Description
public
mixed
Generator::current
()
Parameters
This function has no parameters.
Return Values
Returns the yielded value.