diff --git a/reference/reflection/reflectiongenerator/isclosed.xml b/reference/reflection/reflectiongenerator/isclosed.xml new file mode 100644 index 000000000000..fb4513ddc100 --- /dev/null +++ b/reference/reflection/reflectiongenerator/isclosed.xml @@ -0,0 +1,92 @@ + + + + + ReflectionGenerator::isClosed + Checks if execution finished + + + + &reftitle.description; + + public boolReflectionGenerator::isClosed + + + + Returns whether the execution reached the end of the function, a return statement or if an exception was thrown. + + + + + &reftitle.parameters; + &no.function.parameters; + + + + &reftitle.returnvalues; + + Returns whether the generator finished executing. + + + + + &reftitle.examples; + + <methodname>ReflectionGenerator::isClosed</methodname> example + +isClosed()); +} + +var_dump($reflectionGen->isClosed()); + +?> +]]> + + &example.outputs; + + + + + + + + diff --git a/reference/reflection/versions.xml b/reference/reflection/versions.xml index c9306527d28e..a868b02e448b 100644 --- a/reference/reflection/versions.xml +++ b/reference/reflection/versions.xml @@ -375,6 +375,7 @@ +