|
ReflectionGenerator::isClosedChecks if execution finished Description
public bool ReflectionGenerator::isClosed()
Returns whether the execution reached the end of the function, a return statement or if an exception was thrown. ParametersThis function has no parameters. Return ValuesReturns whether the generator finished executing. ExamplesExample #1 ReflectionGenerator::isClosed example
The above example will output: a bool(false) a bool(false) bool(true) |