Make `ReflectionGenerator::getFunction()` legal after generator termination (#14167) * Make `ReflectionGenerator::getFunction()` legal after generator termination * Expose the gener
Make `ReflectionGenerator::getFunction()` legal after generator termination (#14167) * Make `ReflectionGenerator::getFunction()` legal after generator termination * Expose the generator function name via `Generator::__debugInfo()` * Allow creating `ReflectionGenerator` after termination * Reorder `struct _zend_generator` to avoid a hole * Adjust `ext/reflection/tests/028.phpt` This is legal now. * Fix Generator Closure collection * Add test to verify the Closure dies with the generator * NEWS / UPGRADING
show more ...
|