Lines Matching refs:EG
118 if (EG(prev_exception)) { in zend_exception_save()
119 zend_exception_set_previous(EG(exception), EG(prev_exception)); in zend_exception_save()
121 if (EG(exception)) { in zend_exception_save()
122 EG(prev_exception) = EG(exception); in zend_exception_save()
124 EG(exception) = NULL; in zend_exception_save()
130 if (EG(prev_exception)) { in zend_exception_restore()
131 if (EG(exception)) { in zend_exception_restore()
132 zend_exception_set_previous(EG(exception), EG(prev_exception)); in zend_exception_restore()
134 EG(exception) = EG(prev_exception); in zend_exception_restore()
136 EG(prev_exception) = NULL; in zend_exception_restore()
154 zend_object *previous = EG(exception); in zend_throw_exception_internal()
155 zend_exception_set_previous(Z_OBJ_P(exception), EG(exception)); in zend_throw_exception_internal()
156 EG(exception) = Z_OBJ_P(exception); in zend_throw_exception_internal()
161 if (!EG(current_execute_data)) { in zend_throw_exception_internal()
165 if(EG(exception)) { in zend_throw_exception_internal()
166 zend_exception_error(EG(exception), E_ERROR); in zend_throw_exception_internal()
175 if (!EG(current_execute_data)->func || in zend_throw_exception_internal()
176 !ZEND_USER_CODE(EG(current_execute_data)->func->common.type) || in zend_throw_exception_internal()
177 EG(current_execute_data)->opline->opcode == ZEND_HANDLE_EXCEPTION) { in zend_throw_exception_internal()
181 EG(opline_before_exception) = EG(current_execute_data)->opline; in zend_throw_exception_internal()
182 EG(current_execute_data)->opline = EG(exception_op); in zend_throw_exception_internal()
189 if (EG(prev_exception)) { in zend_clear_exception()
190 OBJ_RELEASE(EG(prev_exception)); in zend_clear_exception()
191 EG(prev_exception) = NULL; in zend_clear_exception()
193 if (!EG(exception)) { in zend_clear_exception()
197 exception = EG(exception); in zend_clear_exception()
198 EG(exception) = NULL; in zend_clear_exception()
200 if (EG(current_execute_data)) { in zend_clear_exception()
201 EG(current_execute_data)->opline = EG(opline_before_exception); in zend_clear_exception()
204 EG(opline_before_exception) = NULL; in zend_clear_exception()
222 if (EG(current_execute_data)) { in zend_default_exception_new_ex()
225 EG(exception_ignore_args) ? DEBUG_BACKTRACE_IGNORE_ARGS : 0, 0); in zend_default_exception_new_ex()
544 smart_str_append_printf(str, "%.*G", (int) EG(precision), Z_DVAL_P(arg)); in _build_trace_args()
991 EG(exception) = NULL; in zend_exception_error()
1008 if (!EG(exception)) { in zend_exception_error()
1017 if (EG(exception)) { in zend_exception_error()
1020 ZVAL_OBJ(&zv, EG(exception)); in zend_exception_error()