xref: /ext-fiber/tests/unstarted-fiber.phpt (revision 068e4ea3)
1--TEST--
2Not starting a fiber does not leak
3--EXTENSIONS--
4fiber
5--FILE--
6<?php
7
8$fiber = new Fiber(fn() => null);
9
10echo "done";
11
12?>
13--EXPECT--
14done
15