Generator::getReturnGet the return value of a generator Description
public mixed Generator::getReturn
( void
)
ParametersThis function has no parameters. Return ValuesReturns the generator's return value once it has finished executing. Examples
Example #1 Generator::getReturn example
<?php The above example will output: 1 2 3 |