Home
last modified time | relevance | path

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

/ext-fiber/tests/
H A Dunfinished-fiber-with-throw-in-finally.phpt15 } catch (Throwable $exception) {
16 echo "inner exit exception caught!\n";
18 } catch (Throwable $exception) {
19 echo "exit exception caught!\n";
22 throw new \Exception("finally exception");
24 } catch (Exception $exception) {
25 echo $exception->getMessage(), "\n";
32 } catch (FiberError $exception) {
33 echo $exception->getMessage(), "\n";
47 finally exception
H A Dcatch.phpt2 Catch exception thrown into fiber
11 } catch (Exception $exception) {
12 var_dump($exception->getMessage());
H A Dsuspend-in-force-close-fiber-catching-exception.phpt2 Suspend in force-closed fiber, catching exception thrown from destructor
20 } catch (FiberError $exception) {
21 echo $exception->getMessage(), "\n";
H A Dunfinished-fiber-with-nested-try-catch.phpt15 } catch (Throwable $exception) {
16 echo "inner exit exception caught!\n";
18 } catch (Throwable $exception) {
19 echo "exit exception caught!\n";
H A Dget-return-after-throwing.phpt12 } catch (Exception $exception) {
13 echo $exception->getMessage(), "\n";
22 Fatal error: Uncaught FiberError: Cannot get fiber return value: The fiber threw an exception in %s…
H A Dfiber-error-construct.phpt10 } catch (Error $exception) {
11 echo $exception->getMessage(), "\n";
H A Dcatch-then-suspend.phpt2 Catch exception thrown into fiber, then suspend again
11 } catch (Exception $exception) {
H A Dunfinished-fiber.phpt13 } catch (Throwable $exception) {
14 echo "exit exception caught!\n";
H A Dunfinished-fiber-with-finally.phpt13 } catch (Throwable $exception) {
14 echo "exit exception caught!\n";
H A Dunfinished-fiber-with-suspend-in-finally.phpt18 } catch (Throwable $exception) {
19 echo "exit exception caught!\n";
/ext-fiber/src/
H A Dfiber.c194 if (EG(exception)) { in zend_fiber_execute()
233 zend_object *exception = EG(exception); in zend_fiber_object_destroy() local
234 EG(exception) = NULL; in zend_fiber_object_destroy()
240 if (EG(exception)) { in zend_fiber_object_destroy()
246 zend_exception_set_previous(EG(exception), exception); in zend_fiber_object_destroy()
252 EG(exception) = exception; in zend_fiber_object_destroy()
283 if (UNEXPECTED(EG(exception) && zend_is_fiber_exit(EG(exception)))) { in zend_fiber_catch_handler()
408 exception = fiber->exception; in ZEND_METHOD()
458 zval *exception; in ZEND_METHOD() local
471 Z_ADDREF_P(exception); in ZEND_METHOD()
[all …]
/ext-fiber/stubs/
H A DFiber.php39 * @param Throwable $exception
46 public function throw(Throwable $exception): mixed {} argument
/ext-fiber/
H A Dfiber.h85 zval *exception; member
107 PHP_FIBER_API zend_bool zend_is_fiber_exit(const zend_object *exception);
H A Dfiber.stub.php14 public function throw(Throwable $exception): mixed {} argument
H A DREADME.md46 * @throw Throwable If the fiber callable throws an uncaught exception.
59 * @throw Throwable If the fiber callable throws an uncaught exception.
64 * Throws the given exception into the fiber from {@see Fiber::suspend()}.
67 * @param Throwable $exception
72 * @throw Throwable If the fiber callable throws an uncaught exception.
74 public function throw(Throwable $exception): mixed {}
99 * @throws FiberError If the fiber has not terminated or the fiber threw an exception.
126 …ed as the return value of these methods. If the fiber throws an exception, the exception is thrown…
131 * throwing an exception from `Fiber::suspend()` using `Fiber->throw()`
133 …l throw an instance of `FiberError` if the fiber has not completed execution or threw an exception.
H A Dfiber_arginfo.h17 ZEND_ARG_OBJ_INFO(0, exception, Throwable, 0)
/ext-fiber/boost/asm/
H A Djump_i386_ms_pe_masm.asm54 ; load current SEH exception list
95 ; restore current SEH exception list
H A Dmake_i386_ms_pe_masm.asm85 ; traverse current seh chain to get the last exception handler installed by Windows
87 ; the exception handler chain is tested for the presence of ntdll.dll!FinalExceptionHandler

Completed in 30 milliseconds