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