Home
last modified time | relevance | path

Searched refs:throw (Results 1 – 18 of 18) sorted by relevance

/ext-fiber/tests/
H A Dfiber-throw-in-destruct.phpt13 throw new Exception('test');
25 Fatal error: Uncaught Exception: test in %sfiber-throw-in-destruct.php:%d
28 #1 %sfiber-throw-in-destruct.php(%d): Fiber->resume()
31 thrown in %sfiber-throw-in-destruct.php on line %d
H A Dthrow-into-non-running-fiber.phpt10 $fiber->throw(new Exception('test'));
16 #0 %sthrow-into-non-running-fiber.php(%d): Fiber->throw(Object(Exception))
H A Dthrow-during-fiber-destruct.phpt11 throw new Exception("Exception 2");
16 throw new Exception("Exception 1");
H A Dcatch.phpt19 $fiber->throw(new Exception('test'));
H A Dcatch-then-suspend.phpt19 var_dump($fiber->throw(new Exception));
H A Dthrow.phpt15 $fiber->throw(new Exception('test'));
H A Dfailing-fiber.phpt10 throw new Exception('test');
H A Dbacktrace-nested.phpt11 throw new Exception;
H A Dthrow-from-destruct-with-fiber.phpt14 throw new Exception;
H A Dbacktrace-object.phpt13 throw new Exception($arg);
H A Dget-return-after-throwing.phpt8 $fiber = new Fiber(fn() => throw new Exception('test'));
H A Dthrow-in-multiple-destroyed-fibers-after-shutdown.phpt13 throw new Exception('test1');
23 throw new Exception('test2');
H A Dfailing-nested-fiber.phpt11 throw new Exception('test');
H A Dunfinished-fiber-with-throw-in-finally.phpt22 throw new \Exception("finally exception");
H A Dbacktrace-deep-nesting.phpt25 throw new Exception;
/ext-fiber/
H A DREADME.md45 * @throw FiberError If the fiber has already been started.
46 * @throw Throwable If the fiber callable throws an uncaught exception.
58 * @throw FiberError If the fiber has not started, is running, or has terminated.
59 * @throw Throwable If the fiber callable throws an uncaught exception.
71 * @throw FiberError If the fiber has not started, is running, or has terminated.
72 * @throw Throwable If the fiber callable throws an uncaught exception.
74 public function throw(Throwable $exception): mixed {}
109 …cution of the fiber. The fiber may be resumed with {@see Fiber::resume()} or {@see Fiber::throw()}.
113 * @param mixed $value Value to return from {@see Fiber::resume()} or {@see Fiber::throw()}.
118 * @throws Throwable Exception provided to {@see Fiber::throw()}.
[all …]
H A Dfiber_arginfo.h66 ZEND_METHOD(Fiber, throw);
88 ZEND_ME(Fiber, throw, arginfo_class_Fiber_throw, ZEND_ACC_PUBLIC)
/ext-fiber/src/
H A Dfiber.c455 ZEND_METHOD(Fiber, throw) in ZEND_METHOD() argument

Completed in 19 milliseconds