Home
last modified time | relevance | path

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

1234

/PHP-8.1/Zend/tests/fibers/
H A Dno-switch-dtor-suspend.phpt2 Cannot suspend fiber within destructor
9 Fiber::suspend();
18 …ht FiberError: Cannot switch fibers in current execution context in %sno-switch-dtor-suspend.php:%d
20 #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
H A Dsuspend-in-nested-function.phpt6 function suspend(): int
8 return Fiber::suspend(1);
12 $value = suspend();
13 return Fiber::suspend($value);
H A Dsuspend-in-force-close-fiber.phpt8 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()
H A Dsuspend-in-force-close-fiber-after-shutdown.phpt8 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()
H A Dsuspend-outside-fiber.phpt6 $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)
H A Dcatch-then-suspend.phpt2 Catch exception thrown into fiber, then suspend again
8 Fiber::suspend('in try');
12 Fiber::suspend('after catch');
H A Dsuspend-in-force-close-fiber-catching-exception.phpt10 Fiber::suspend();
12 Fiber::suspend();
26 Cannot suspend in a force-closed fiber
H A Dunfinished-fiber-with-throw-in-finally.phpt2 Test unfinished fiber with suspend in finally
11 echo Fiber::suspend();
29 echo Fiber::suspend();
47 Cannot suspend in a force-closed fiber
H A Dgh10496-001.phpt13 function suspend($x) {
14 Fiber::suspend();
19 \ord(suspend(1));
/PHP-8.1/ext/zend_test/tests/
H A Dobserver_fiber_03.phpt12 Fiber::suspend();
16 Fiber::suspend();
18 Fiber::suspend();
24 Fiber::suspend();
29 Fiber::suspend();
47 <suspend '%s'>
55 <suspend '%s'>
57 <suspend '%s'>
65 <suspend '%s'>
67 <suspend '%s'>
H A Dobserver_fiber_04.phpt12 Fiber::suspend();
15 Fiber::suspend();
20 Fiber::suspend();
34 <suspend '%s'>
41 <suspend '%s'>
43 <suspend '%s'>
H A Dobserver_fiber_05.phpt12 Fiber::suspend();
15 Fiber::suspend();
20 Fiber::suspend();
33 <suspend '%s'>
40 <suspend '%s'>
42 <suspend '%s'>
H A Dfiber_test_06.phpt9 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"
H A Dfiber_test_04.phpt9 $value = Fiber::suspend(1);
11 $value = _ZendTestFiber::suspend(3);
13 $value = Fiber::suspend(4);
15 _ZendTestFiber::suspend(5);
H A Dfiber_test_05.phpt9 $value = Fiber::suspend(1);
11 $value = _ZendTestFiber::suspend(3);
13 $value = Fiber::suspend(4);
/PHP-8.1/Zend/tests/
H A Dgh9916-006.phpt9 print "Before suspend\n";
10 Fiber::suspend();
11 print "After suspend\n";
34 Before suspend
35 After suspend
H A Dgh9916-002.phpt7 print "Before suspend\n";
8 Fiber::suspend();
20 Before suspend
H A Dgh9916-005.phpt8 print "Before suspend\n";
9 Fiber::suspend();
24 Before suspend
H A Dgh9916-001.phpt8 print "Before suspend\n";
9 Fiber::suspend();
25 Before suspend
H A Dgh9916-004.phpt9 print "Before suspend\n";
10 Fiber::suspend();
25 Before suspend
H A Dgh9916-003.phpt11 print "Before suspend\n";
12 Fiber::suspend();
33 Before suspend
H A Dgh9916-010.phpt12 print "Before suspend\n";
13 Fiber::suspend();
33 Before suspend
H A Dgh9916-008.phpt24 print "Before suspend\n";
25 Fiber::suspend();
46 Before suspend
/PHP-8.1/ext/reflection/tests/
H A DReflectionFiber_notrace_1.phpt2 ReflectionFiber should not segfault when inspecting fibers with no stack frames before suspend
5 $f = new Fiber(Fiber::suspend(...));
22 string(7) "suspend"
H A DReflectionFiber_notrace_2.phpt8 $f = new \Fiber(fn() => call_user_func(["Fiber", "suspend"]));
25 string(7) "suspend"
49 string(7) "suspend"

Completed in 24 milliseconds

1234