12345678910111213141516171819202122232425262728 |
- --TEST--
- Backtrace in nested function call
- --FILE--
- <?php
- function suspend_fiber(): void
- {
- \Fiber::suspend();
- throw new Exception;
- }
- $fiber = new Fiber(function (): void {
- suspend_fiber();
- });
- $fiber->start();
- $fiber->resume();
- ?>
- --EXPECTF--
- Fatal error: Uncaught Exception in %sbacktrace-nested.php:%d
- Stack trace:
- thrown in %sbacktrace-nested.php on line %d
|