Lines Matching refs:EG

134 	if (EG(prev_exception)) {  in zend_exception_save()
135 zend_exception_set_previous(EG(exception), EG(prev_exception)); in zend_exception_save()
137 if (EG(exception)) { in zend_exception_save()
138 EG(prev_exception) = EG(exception); in zend_exception_save()
140 EG(exception) = NULL; in zend_exception_save()
146 if (EG(prev_exception)) { in zend_exception_restore()
147 if (EG(exception)) { in zend_exception_restore()
148 zend_exception_set_previous(EG(exception), EG(prev_exception)); in zend_exception_restore()
150 EG(exception) = EG(prev_exception); in zend_exception_restore()
152 EG(prev_exception) = NULL; in zend_exception_restore()
158 zend_execute_data *execute_data = EG(current_execute_data); in is_handle_exception_set()
178 zend_object *previous = EG(exception); in zend_throw_exception_internal()
185 zend_exception_set_previous(exception, EG(exception)); in zend_throw_exception_internal()
186 EG(exception) = exception; in zend_throw_exception_internal()
192 if (!EG(current_execute_data)) { in zend_throw_exception_internal()
196 if (EG(exception)) { in zend_throw_exception_internal()
197 zend_exception_error(EG(exception), E_ERROR); in zend_throw_exception_internal()
211 EG(opline_before_exception) = EG(current_execute_data)->opline; in zend_throw_exception_internal()
212 EG(current_execute_data)->opline = EG(exception_op); in zend_throw_exception_internal()
219 if (EG(prev_exception)) { in zend_clear_exception()
220 OBJ_RELEASE(EG(prev_exception)); in zend_clear_exception()
221 EG(prev_exception) = NULL; in zend_clear_exception()
223 if (!EG(exception)) { in zend_clear_exception()
227 exception = EG(exception); in zend_clear_exception()
228 EG(exception) = NULL; in zend_clear_exception()
230 if (EG(current_execute_data)) { in zend_clear_exception()
231 EG(current_execute_data)->opline = EG(opline_before_exception); in zend_clear_exception()
234 EG(opline_before_exception) = NULL; in zend_clear_exception()
251 if (EG(current_execute_data)) { in zend_default_exception_new_ex()
254 EG(exception_ignore_args) ? DEBUG_BACKTRACE_IGNORE_ARGS : 0, 0); in zend_default_exception_new_ex()
503 smart_str_append_scalar(str, arg, EG(exception_string_param_max_len)); in _build_trace_args()
624 if (EG(exception)) { in ZEND_METHOD()
903 EG(exception) = NULL; in zend_exception_error()
921 if (!EG(exception)) { in zend_exception_error()
930 if (EG(exception)) { in zend_exception_error()
933 ZVAL_OBJ(&zv, EG(exception)); in zend_exception_error()
977 ZEND_ASSERT(EG(exception)); in zend_exception_uncaught_error()
979 ZVAL_OBJ_COPY(&exception_zv, EG(exception)); in zend_exception_uncaught_error()
1017 ZEND_ASSERT(!EG(exception)); in zend_throw_unwind_exit()
1018 EG(exception) = zend_create_unwind_exit(); in zend_throw_unwind_exit()
1019 EG(opline_before_exception) = EG(current_execute_data)->opline; in zend_throw_unwind_exit()
1020 EG(current_execute_data)->opline = EG(exception_op); in zend_throw_unwind_exit()
1025 ZEND_ASSERT(!EG(exception)); in zend_throw_graceful_exit()
1026 EG(exception) = zend_create_graceful_exit(); in zend_throw_graceful_exit()
1027 EG(opline_before_exception) = EG(current_execute_data)->opline; in zend_throw_graceful_exit()
1028 EG(current_execute_data)->opline = EG(exception_op); in zend_throw_graceful_exit()