Searched refs:exception (Results 1 – 18 of 18) sorted by relevance
/ext-fiber/tests/ |
H A D | unfinished-fiber-with-throw-in-finally.phpt | 15 } 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 D | catch.phpt | 2 Catch exception thrown into fiber 11 } catch (Exception $exception) { 12 var_dump($exception->getMessage());
|
H A D | suspend-in-force-close-fiber-catching-exception.phpt | 2 Suspend in force-closed fiber, catching exception thrown from destructor 20 } catch (FiberError $exception) { 21 echo $exception->getMessage(), "\n";
|
H A D | unfinished-fiber-with-nested-try-catch.phpt | 15 } catch (Throwable $exception) { 16 echo "inner exit exception caught!\n"; 18 } catch (Throwable $exception) { 19 echo "exit exception caught!\n";
|
H A D | get-return-after-throwing.phpt | 12 } 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 D | fiber-error-construct.phpt | 10 } catch (Error $exception) { 11 echo $exception->getMessage(), "\n";
|
H A D | catch-then-suspend.phpt | 2 Catch exception thrown into fiber, then suspend again 11 } catch (Exception $exception) {
|
H A D | unfinished-fiber.phpt | 13 } catch (Throwable $exception) { 14 echo "exit exception caught!\n";
|
H A D | unfinished-fiber-with-finally.phpt | 13 } catch (Throwable $exception) { 14 echo "exit exception caught!\n";
|
H A D | unfinished-fiber-with-suspend-in-finally.phpt | 18 } catch (Throwable $exception) { 19 echo "exit exception caught!\n";
|
/ext-fiber/src/ |
H A D | fiber.c | 194 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 D | Fiber.php | 39 * @param Throwable $exception 46 public function throw(Throwable $exception): mixed {} argument
|
/ext-fiber/ |
H A D | fiber.h | 85 zval *exception; member 107 PHP_FIBER_API zend_bool zend_is_fiber_exit(const zend_object *exception);
|
H A D | fiber.stub.php | 14 public function throw(Throwable $exception): mixed {} argument
|
H A D | README.md | 46 * @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 D | fiber_arginfo.h | 17 ZEND_ARG_OBJ_INFO(0, exception, Throwable, 0)
|
/ext-fiber/boost/asm/ |
H A D | jump_i386_ms_pe_masm.asm | 54 ; load current SEH exception list 95 ; restore current SEH exception list
|
H A D | make_i386_ms_pe_masm.asm | 85 ; 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 215 milliseconds