Lines Matching refs:EG
109 if (EG(prev_exception)) { in zend_exception_save()
110 zend_exception_set_previous(EG(exception), EG(prev_exception)); in zend_exception_save()
112 if (EG(exception)) { in zend_exception_save()
113 EG(prev_exception) = EG(exception); in zend_exception_save()
115 EG(exception) = NULL; in zend_exception_save()
121 if (EG(prev_exception)) { in zend_exception_restore()
122 if (EG(exception)) { in zend_exception_restore()
123 zend_exception_set_previous(EG(exception), EG(prev_exception)); in zend_exception_restore()
125 EG(exception) = EG(prev_exception); in zend_exception_restore()
127 EG(prev_exception) = NULL; in zend_exception_restore()
145 zend_object *previous = EG(exception); in zend_throw_exception_internal()
146 zend_exception_set_previous(Z_OBJ_P(exception), EG(exception)); in zend_throw_exception_internal()
147 EG(exception) = Z_OBJ_P(exception); in zend_throw_exception_internal()
152 if (!EG(current_execute_data)) { in zend_throw_exception_internal()
156 if(EG(exception)) { in zend_throw_exception_internal()
157 zend_exception_error(EG(exception), E_ERROR); in zend_throw_exception_internal()
166 if (!EG(current_execute_data)->func || in zend_throw_exception_internal()
167 !ZEND_USER_CODE(EG(current_execute_data)->func->common.type) || in zend_throw_exception_internal()
168 EG(current_execute_data)->opline->opcode == ZEND_HANDLE_EXCEPTION) { in zend_throw_exception_internal()
172 EG(opline_before_exception) = EG(current_execute_data)->opline; in zend_throw_exception_internal()
173 EG(current_execute_data)->opline = EG(exception_op); in zend_throw_exception_internal()
179 if (EG(prev_exception)) { in zend_clear_exception()
181 OBJ_RELEASE(EG(prev_exception)); in zend_clear_exception()
182 EG(prev_exception) = NULL; in zend_clear_exception()
184 if (!EG(exception)) { in zend_clear_exception()
187 OBJ_RELEASE(EG(exception)); in zend_clear_exception()
188 EG(exception) = NULL; in zend_clear_exception()
189 if (EG(current_execute_data)) { in zend_clear_exception()
190 EG(current_execute_data)->opline = EG(opline_before_exception); in zend_clear_exception()
193 EG(opline_before_exception) = NULL; in zend_clear_exception()
211 if (EG(current_execute_data)) { in zend_default_exception_new_ex()
560 …size_t l_tmp = zend_spprintf(&s_tmp, MAX_LENGTH_OF_DOUBLE + EG(precision) + 1, "%.*G", (int) EG(pr… in _build_trace_args()
1020 EG(exception) = NULL; in zend_exception_error()
1036 if (!EG(exception)) { in zend_exception_error()
1045 if (EG(exception)) { in zend_exception_error()
1048 ZVAL_OBJ(&zv, EG(exception)); in zend_exception_error()