Searched refs:throw (Results 1 – 18 of 18) sorted by relevance
13 throw new Exception('test');25 Fatal error: Uncaught Exception: test in %sfiber-throw-in-destruct.php:%d28 #1 %sfiber-throw-in-destruct.php(%d): Fiber->resume()31 thrown in %sfiber-throw-in-destruct.php on line %d
10 $fiber->throw(new Exception('test'));16 #0 %sthrow-into-non-running-fiber.php(%d): Fiber->throw(Object(Exception))
11 throw new Exception("Exception 2");16 throw new Exception("Exception 1");
19 $fiber->throw(new Exception('test'));
19 var_dump($fiber->throw(new Exception));
15 $fiber->throw(new Exception('test'));
10 throw new Exception('test');
11 throw new Exception;
14 throw new Exception;
13 throw new Exception($arg);
8 $fiber = new Fiber(fn() => throw new Exception('test'));
13 throw new Exception('test1');23 throw new Exception('test2');
11 throw new Exception('test');
22 throw new \Exception("finally exception");
25 throw new Exception;
45 * @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 …]
66 ZEND_METHOD(Fiber, throw);88 ZEND_ME(Fiber, throw, arginfo_class_Fiber_throw, ZEND_ACC_PUBLIC)
455 ZEND_METHOD(Fiber, throw) in ZEND_METHOD() argument
Completed in 19 milliseconds