--TEST-- GH-15330 001: Do not scan generator frames more than once --FILE-- current()); $iterable->next(); var_dump("not executed"); }); $ref = $fiber; $fiber->start(); gc_collect_cycles(); ?> ==DONE== --EXPECT-- string(3) "foo" ==DONE==