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