1--TEST-- 2Catch exception thrown into fiber 3--EXTENSIONS-- 4fiber 5--FILE-- 6<?php 7 8$fiber = new Fiber(function () { 9 try { 10 Fiber::suspend('test'); 11 } catch (Exception $exception) { 12 var_dump($exception->getMessage()); 13 } 14}); 15 16$value = $fiber->start(); 17var_dump($value); 18 19$fiber->throw(new Exception('test')); 20 21?> 22--EXPECT-- 23string(4) "test" 24string(4) "test" 25