1--TEST--
2Exit from fiber
3--FILE--
4<?php
5
6$fiber = new Fiber(function (): void {
7    Fiber::suspend();
8    echo "resumed\n";
9    exit();
10});
11
12$fiber->start();
13
14$fiber->resume();
15
16echo "unreachable\n";
17
18?>
19--EXPECT--
20resumed
21