1--TEST--
2ReflectionFiber should not segfault when inspecting fibers with no stack frames before suspend
3--FILE--
4<?php
5$f = new Fiber(Fiber::suspend(...));
6$f->start();
7
8$reflection = new ReflectionFiber($f);
9
10var_dump($reflection->getExecutingFile());
11var_dump($reflection->getExecutingLine());
12var_dump($reflection->getTrace());
13
14?>
15--EXPECTF--
16NULL
17NULL
18array(1) {
19  [0]=>
20  array(4) {
21    ["function"]=>
22    string(7) "suspend"
23    ["class"]=>
24    string(5) "Fiber"
25    ["type"]=>
26    string(2) "::"
27    ["args"]=>
28    array(0) {
29    }
30  }
31}
32