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