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()
188 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()
196 OBJ_RELEASE(EG(exception)); in zend_clear_exception()
197 EG(exception) = NULL; in zend_clear_exception()
198 if (EG(current_execute_data)) { in zend_clear_exception()
199 EG(current_execute_data)->opline = EG(opline_before_exception); in zend_clear_exception()
202 EG(opline_before_exception) = NULL; in zend_clear_exception()
220 if (EG(current_execute_data)) { in zend_default_exception_new_ex()
540 smart_str_append_printf(str, "%.*G", (int) EG(precision), Z_DVAL_P(arg)); in _build_trace_args()
987 EG(exception) = NULL; in zend_exception_error()
1004 if (!EG(exception)) { in zend_exception_error()
1013 if (EG(exception)) { in zend_exception_error()
1016 ZVAL_OBJ(&zv, EG(exception)); in zend_exception_error()