1--TEST--
2Observer: Unfinished fiber
3--EXTENSIONS--
4zend_test
5--INI--
6zend_test.observer.enabled=1
7zend_test.observer.show_output=1
8zend_test.observer.fiber_switch=1
9--FILE--
10<?php
11
12$fiber = new Fiber(function (): void {
13    Fiber::suspend();
14});
15
16$fiber->start();
17
18?>
19--EXPECTF--
20<!-- init '%sobserver_fiber_02.php' -->
21<!-- switching from fiber %s to %s -->
22<init '%s'>
23<!-- init {closure}() -->
24<!-- switching from fiber %s to %s -->
25<suspend '%s'>
26<!-- switching from fiber %s to %s -->
27<destroying '%s'>
28<!-- switching from fiber %s to %s -->
29<destroyed '%s'>
30