--TEST-- GH-11121: Segfault when using ReflectionFiber --FILE-- getTrace()); }))->start(); } $f = new Fiber(function() { f(); max(...[1,2,3,4,5,6,7,8,9,10,11,12]); g(); }); $f->start(); $f->resume(); ?> --EXPECTF-- array(3) { [0]=> array(7) { ["file"]=> string(%d) "%sReflectionFiber_bug_gh11121_1.php" ["line"]=> int(10) ["function"]=> string(5) "start" ["class"]=> string(5) "Fiber" ["object"]=> object(Fiber)#3 (0) { } ["type"]=> string(2) "->" ["args"]=> array(0) { } } [1]=> array(4) { ["file"]=> string(%d) "%sReflectionFiber_bug_gh11121_1.php" ["line"]=> int(13) ["function"]=> string(1) "g" ["args"]=> array(0) { } } [2]=> array(2) { ["function"]=> string(9) "{closure}" ["args"]=> array(0) { } } }