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