1--TEST--
2Fast finishing fiber does not leak
3--FILE--
4<?php
5
6$fiber = new Fiber(fn() => 'test');
7var_dump($fiber->isStarted());
8var_dump($fiber->start());
9var_dump($fiber->getReturn());
10var_dump($fiber->isTerminated());
11
12?>
13--EXPECT--
14bool(false)
15NULL
16string(4) "test"
17bool(true)
18