Searched refs:suspend (Results 1 – 25 of 94) sorted by relevance
1234
2 Cannot suspend fiber within destructor9 Fiber::suspend();18 …ht FiberError: Cannot switch fibers in current execution context in %sno-switch-dtor-suspend.php:%d20 #0 %sno-switch-dtor-suspend.php(%d): Fiber::suspend()22 #2 %sno-switch-dtor-suspend.php(%d): Fiber->start()24 thrown in %sno-switch-dtor-suspend.php on line %d
6 function suspend(): int8 return Fiber::suspend(1);12 $value = suspend();13 return Fiber::suspend($value);
8 Fiber::suspend();10 Fiber::suspend();20 Fatal error: Uncaught FiberError: Cannot suspend in a force-closed fiber in %ssuspend-in-force-clos…22 #0 %ssuspend-in-force-close-fiber.php(%d): Fiber::suspend()
8 Fiber::suspend();10 Fiber::suspend();22 Fatal error: Uncaught FiberError: Cannot suspend in a force-closed fiber in %ssuspend-in-force-clos…24 #0 %ssuspend-in-force-close-fiber-after-shutdown.php(%d): Fiber::suspend()
6 $value = Fiber::suspend(1);10 Fatal error: Uncaught FiberError: Cannot suspend outside of a fiber in %ssuspend-outside-fiber.php:…12 #0 %ssuspend-outside-fiber.php(%d): Fiber::suspend(1)
2 Catch exception thrown into fiber, then suspend again8 Fiber::suspend('in try');12 Fiber::suspend('after catch');
10 Fiber::suspend();12 Fiber::suspend();26 Cannot suspend in a force-closed fiber
2 Test unfinished fiber with suspend in finally11 echo Fiber::suspend();29 echo Fiber::suspend();47 Cannot suspend in a force-closed fiber
13 function suspend($x) {14 Fiber::suspend();19 \ord(suspend(1));
13 Fiber::suspend();17 Fiber::suspend();19 Fiber::suspend();25 Fiber::suspend();30 Fiber::suspend();48 <suspend '%s'>56 <suspend '%s'>58 <suspend '%s'>66 <suspend '%s'>68 <suspend '%s'>
13 Fiber::suspend();16 Fiber::suspend();21 Fiber::suspend();35 <suspend '%s'>42 <suspend '%s'>44 <suspend '%s'>
13 Fiber::suspend();16 Fiber::suspend();21 Fiber::suspend();34 <suspend '%s'>41 <suspend '%s'>43 <suspend '%s'>
9 var_dump(_ZendTestFiber::suspend(10)); // string(2) "10"10 Fiber::suspend(20);17 var_dump(Fiber::suspend(1)); // string(1) "1"18 var_dump(Fiber::suspend(2)); // string(1) "2"
9 $value = Fiber::suspend(1);11 $value = _ZendTestFiber::suspend(3);13 $value = Fiber::suspend(4);15 _ZendTestFiber::suspend(5);
9 $value = Fiber::suspend(1);11 $value = _ZendTestFiber::suspend(3);13 $value = Fiber::suspend(4);
9 print "Before suspend\n";10 Fiber::suspend();11 print "After suspend\n";34 Before suspend35 After suspend
7 print "Before suspend\n";8 Fiber::suspend();20 Before suspend
8 print "Before suspend\n";9 Fiber::suspend();24 Before suspend
8 print "Before suspend\n";9 Fiber::suspend();25 Before suspend
9 print "Before suspend\n";10 Fiber::suspend();25 Before suspend
11 print "Before suspend\n";12 Fiber::suspend();33 Before suspend
12 print "Before suspend\n";13 Fiber::suspend();33 Before suspend
24 print "Before suspend\n";25 Fiber::suspend();46 Before suspend
2 ReflectionFiber should not segfault when inspecting fibers with no stack frames before suspend5 $f = new Fiber(Fiber::suspend(...));22 string(7) "suspend"
8 $f = new \Fiber(fn() => call_user_func(["Fiber", "suspend"]));25 string(7) "suspend"49 string(7) "suspend"
Completed in 29 milliseconds