1--TEST--
2Suspend outside fiber
3--FILE--
4<?php
5
6$value = Fiber::suspend(1);
7
8?>
9--EXPECTF--
10Fatal error: Uncaught FiberError: Cannot suspend outside of a fiber in %ssuspend-outside-fiber.php:%d
11Stack trace:
12#0 %ssuspend-outside-fiber.php(%d): Fiber::suspend(1)
13#1 {main}
14  thrown in %ssuspend-outside-fiber.php on line %d
15