Home
last modified time | relevance | path

Searched refs:suspend (Results 1 – 25 of 47) sorted by relevance

12

/ext-fiber/tests/
H A Dsuspend-in-nested-function.phpt8 function suspend(): int
10 return Fiber::suspend(1);
14 $value = suspend();
15 return Fiber::suspend($value);
H A Dsuspend-in-force-close-fiber.phpt10 Fiber::suspend();
12 Fiber::suspend();
24 #0 %ssuspend-in-force-close-fiber.php(%d): Fiber::suspend()
28 Next FiberError: Cannot suspend in a force-closed fiber in %ssuspend-in-force-close-fiber.php:%d
30 #0 %ssuspend-in-force-close-fiber.php(%d): Fiber::suspend()
H A Dsuspend-outside-fiber.phpt8 $value = Fiber::suspend(1);
12 Fatal error: Uncaught FiberError: Cannot suspend outside of a fiber in %ssuspend-outside-fiber.php:…
14 #0 %ssuspend-outside-fiber.php(%d): Fiber::suspend(1)
H A Dcatch-then-suspend.phpt2 Catch exception thrown into fiber, then suspend again
10 Fiber::suspend('in try');
14 Fiber::suspend('after catch');
H A Dfiber-in-destruct.phpt12 Fiber::suspend(2);
16 Fiber::suspend(1);
20 Fiber::suspend(3);
H A Dsuspend-in-force-close-fiber-catching-exception.phpt12 Fiber::suspend();
14 Fiber::suspend();
28 Cannot suspend in a force-closed fiber
H A Dsuspend-in-force-close-fiber-after-shutdown.phpt10 Fiber::suspend();
12 Fiber::suspend();
26 #0 %ssuspend-in-force-close-fiber-after-shutdown.php(%d): Fiber::suspend()
30 Next FiberError: Cannot suspend in a force-closed fiber in %ssuspend-in-force-close-fiber-after-shu…
32 #0 %ssuspend-in-force-close-fiber-after-shutdown.php(%d): Fiber::suspend()
H A Dunfinished-fiber-with-throw-in-finally.phpt2 Test unfinished fiber with suspend in finally
13 echo Fiber::suspend();
31 echo Fiber::suspend();
49 Cannot suspend in a force-closed fiber
H A Dthrow-in-multiple-destroyed-fibers-after-shutdown.phpt11 Fiber::suspend();
21 Fiber::suspend();
29 Fiber::suspend();
42 #0 %sthrow-in-multiple-destroyed-fibers-after-shutdown.php(%d): Fiber::suspend()
48 #0 %sthrow-in-multiple-destroyed-fibers-after-shutdown.php(%d): Fiber::suspend()
59 #0 %sthrow-in-multiple-destroyed-fibers-after-shutdown.php(%d): Fiber::suspend()
H A Dfiber-in-shutdown-function.phpt10 Fiber::suspend(1);
11 Fiber::suspend(2);
H A Dunfinished-fiber.phpt11 echo Fiber::suspend();
12 echo "after suspend\n";
H A Dfatal-error-in-nested-fiber.phpt10 \Fiber::suspend(2);
16 \Fiber::suspend(1);
H A Dfatal-error-with-multiple-fibers.phpt10 \Fiber::suspend(1);
17 \Fiber::suspend(2);
H A Dfiber-created-during-cleanup.phpt12 Fiber::suspend();
18 Fiber::suspend();
H A Dunfinished-fiber-with-finally.phpt11 echo Fiber::suspend();
12 echo "after suspend\n";
H A Dthrow-during-fiber-destruct.phpt9 Fiber::suspend();
21 #0 %s(%d): Fiber::suspend()
H A Dunfinished-fiber-with-suspend-in-finally.phpt2 Test unfinished fiber with suspend in finally
15 Fiber::suspend();
H A Dstart-arguments.phpt9 return $x + Fiber::suspend($x);
17 return $x + Fiber::suspend($x);
H A Dunfinished-fiber-with-nested-try-catch.phpt13 echo Fiber::suspend();
30 echo Fiber::suspend();
H A Dexit-in-fiber.phpt9 Fiber::suspend();
H A Dresume.phpt9 $value = Fiber::suspend(1);
H A Dfiber-created-in-destruct.phpt12 Fiber::suspend(1);
H A Dcatch.phpt10 Fiber::suspend('test');
H A Dget-return.phpt9 $value = Fiber::suspend("x");
/ext-fiber/examples/
H A D001-simple.php4 $value = Fiber::suspend('fiber');

Completed in 26 milliseconds

12