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 '%s' -->
21<!-- init Fiber::__construct() -->
22<!-- init Fiber::start() -->
23<!-- switching from fiber %s to %s -->
24<init '%s'>
25<!-- init {closure:%s:%d}() -->
26<!-- init Fiber::suspend() -->
27<!-- switching from fiber %s to %s -->
28<suspend '%s'>
29<!-- switching from fiber %s to %s -->
30<destroying '%s'>
31<!-- switching from fiber %s to %s -->
32<destroyed '%s'>
33