--TEST-- GH-15108 007: Segfault with delegated generator in suspended fiber --FILE-- current()); var_dump($b->current()); $fiber = new Fiber(function () use ($a, $b, $c, $d, $g) { $b->next(); var_dump("not executed"); }); $ref = $fiber; $fiber->start(); ?> ==DONE== --EXPECT-- string(3) "foo" string(3) "foo" ==DONE==