--TEST-- Prevent switching fibers when dispatching pending signals --EXTENSIONS-- pcntl posix --FILE-- start(); echo $e, "\n"; $fiber->resume(); ?> --EXPECTF-- Fiber start FiberError: Cannot switch fibers in current execution context in %ssignal-dispatch.php:%d Stack trace: #0 %ssignal-dispatch.php(%d): Fiber::suspend() #1 [internal function]: {closure}(%d, Array) #2 %ssignal-dispatch.php(%d): pcntl_signal_dispatch() #3 [internal function]: {closure}() #4 %ssignal-dispatch.php(%d): Fiber->start() #5 {main} Fiber end