1--TEST-- 2Resume running fiber 3--FILE-- 4<?php 5 6$fiber = new Fiber(function (): void { 7 $self = Fiber::getCurrent(); 8 $self->resume(); 9}); 10 11$fiber->start(); 12 13?> 14--EXPECTF-- 15Fatal error: Uncaught FiberError: Cannot resume a fiber that is not suspended in %sresume-running-fiber.php:%d 16Stack trace: 17#0 %sresume-running-fiber.php(%d): Fiber->resume() 18#1 [internal function]: {closure}() 19#2 %sresume-running-fiber.php(%d): Fiber->start() 20#3 {main} 21 thrown in %sresume-running-fiber.php on line %d 22