Lines Matching refs:exception
490 if (EG(exception)) { in zend_fiber_execute()
492 || !(zend_is_graceful_exit(EG(exception)) || zend_is_unwind_exit(EG(exception))) in zend_fiber_execute()
497 ZVAL_OBJ_COPY(&transfer->value, EG(exception)); in zend_fiber_execute()
529 zend_fiber_context *context, zval *value, bool exception in zend_fiber_switch_to() argument
533 .flags = exception ? ZEND_FIBER_TRANSFER_FLAG_ERROR : 0, in zend_fiber_switch_to()
553 …always_inline zend_fiber_transfer zend_fiber_resume(zend_fiber *fiber, zval *value, bool exception) in zend_fiber_resume() argument
564 zend_fiber_transfer transfer = zend_fiber_switch_to(fiber->previous, value, exception); in zend_fiber_resume()
603 zend_object *exception = EG(exception); in zend_fiber_object_destroy() local
604 EG(exception) = NULL; in zend_fiber_object_destroy()
616 EG(exception) = Z_OBJ(transfer.value); in zend_fiber_object_destroy()
618 if (!exception && EG(current_execute_data) && EG(current_execute_data)->func in zend_fiber_object_destroy()
623 zend_exception_set_previous(EG(exception), exception); in zend_fiber_object_destroy()
626 zend_exception_error(EG(exception), E_ERROR); in zend_fiber_object_destroy()
630 EG(exception) = exception; in zend_fiber_object_destroy()
788 zval *exception; in ZEND_METHOD() local
791 Z_PARAM_OBJECT_OF_CLASS(exception, zend_ce_throwable) in ZEND_METHOD()
808 zend_fiber_transfer transfer = zend_fiber_resume(fiber, exception, true); in ZEND_METHOD()