Lines Matching refs:EG

113 	if (EG(prev_exception)) {  in zend_exception_save()
114 zend_exception_set_previous(EG(exception), EG(prev_exception)); in zend_exception_save()
116 if (EG(exception)) { in zend_exception_save()
117 EG(prev_exception) = EG(exception); in zend_exception_save()
119 EG(exception) = NULL; in zend_exception_save()
125 if (EG(prev_exception)) { in zend_exception_restore()
126 if (EG(exception)) { in zend_exception_restore()
127 zend_exception_set_previous(EG(exception), EG(prev_exception)); in zend_exception_restore()
129 EG(exception) = EG(prev_exception); in zend_exception_restore()
131 EG(prev_exception) = NULL; in zend_exception_restore()
149 zend_object *previous = EG(exception); in zend_throw_exception_internal()
150 zend_exception_set_previous(Z_OBJ_P(exception), EG(exception)); in zend_throw_exception_internal()
151 EG(exception) = Z_OBJ_P(exception); in zend_throw_exception_internal()
156 if (!EG(current_execute_data)) { in zend_throw_exception_internal()
160 if(EG(exception)) { in zend_throw_exception_internal()
161 zend_exception_error(EG(exception), E_ERROR); in zend_throw_exception_internal()
170 if (!EG(current_execute_data)->func || in zend_throw_exception_internal()
171 !ZEND_USER_CODE(EG(current_execute_data)->func->common.type) || in zend_throw_exception_internal()
172 EG(current_execute_data)->opline->opcode == ZEND_HANDLE_EXCEPTION) { in zend_throw_exception_internal()
176 EG(opline_before_exception) = EG(current_execute_data)->opline; in zend_throw_exception_internal()
177 EG(current_execute_data)->opline = EG(exception_op); in zend_throw_exception_internal()
183 if (EG(prev_exception)) { in zend_clear_exception()
185 OBJ_RELEASE(EG(prev_exception)); in zend_clear_exception()
186 EG(prev_exception) = NULL; in zend_clear_exception()
188 if (!EG(exception)) { in zend_clear_exception()
191 OBJ_RELEASE(EG(exception)); in zend_clear_exception()
192 EG(exception) = NULL; in zend_clear_exception()
193 if (EG(current_execute_data)) { in zend_clear_exception()
194 EG(current_execute_data)->opline = EG(opline_before_exception); in zend_clear_exception()
197 EG(opline_before_exception) = NULL; in zend_clear_exception()
215 if (EG(current_execute_data)) { in zend_default_exception_new_ex()
535 smart_str_append_printf(str, "%.*G", (int) EG(precision), Z_DVAL_P(arg)); in _build_trace_args()
978 EG(exception) = NULL; in zend_exception_error()
994 if (!EG(exception)) { in zend_exception_error()
1003 if (EG(exception)) { in zend_exception_error()
1006 ZVAL_OBJ(&zv, EG(exception)); in zend_exception_error()