Lines Matching refs:EG

61 	if (EG(prev_exception)) {  in zend_exception_save()
62 zend_exception_set_previous(EG(exception), EG(prev_exception) TSRMLS_CC); in zend_exception_save()
64 if (EG(exception)) { in zend_exception_save()
65 EG(prev_exception) = EG(exception); in zend_exception_save()
67 EG(exception) = NULL; in zend_exception_save()
73 if (EG(prev_exception)) { in zend_exception_restore()
74 if (EG(exception)) { in zend_exception_restore()
75 zend_exception_set_previous(EG(exception), EG(prev_exception) TSRMLS_CC); in zend_exception_restore()
77 EG(exception) = EG(prev_exception); in zend_exception_restore()
79 EG(prev_exception) = NULL; in zend_exception_restore()
101 zval *previous = EG(exception); in zend_throw_exception_internal()
102 zend_exception_set_previous(exception, EG(exception) TSRMLS_CC); in zend_throw_exception_internal()
103 EG(exception) = exception; in zend_throw_exception_internal()
108 if (!EG(current_execute_data)) { in zend_throw_exception_internal()
109 if(EG(exception)) { in zend_throw_exception_internal()
110 zend_exception_error(EG(exception), E_ERROR TSRMLS_CC); in zend_throw_exception_internal()
119 if (EG(current_execute_data)->opline == NULL || in zend_throw_exception_internal()
120 (EG(current_execute_data)->opline+1)->opcode == ZEND_HANDLE_EXCEPTION) { in zend_throw_exception_internal()
124 EG(opline_before_exception) = EG(current_execute_data)->opline; in zend_throw_exception_internal()
125 EG(current_execute_data)->opline = EG(exception_op); in zend_throw_exception_internal()
131 if (EG(prev_exception)) { in zend_clear_exception()
132 zval_ptr_dtor(&EG(prev_exception)); in zend_clear_exception()
133 EG(prev_exception) = NULL; in zend_clear_exception()
135 if (!EG(exception)) { in zend_clear_exception()
138 zval_ptr_dtor(&EG(exception)); in zend_clear_exception()
139 EG(exception) = NULL; in zend_clear_exception()
140 EG(current_execute_data)->opline = EG(opline_before_exception); in zend_clear_exception()
142 EG(opline_before_exception) = NULL; in zend_clear_exception()
508 s_tmp = emalloc(MAX_LENGTH_OF_DOUBLE + EG(precision) + 1); in _build_trace_args()
509 l_tmp = zend_sprintf(s_tmp, "%.*G", (int) EG(precision), dval); /* SAFE */ in _build_trace_args()
891 EG(exception) = NULL; in zend_exception_error()
894 if (!EG(exception)) { in zend_exception_error()
898 …zend_update_property_string(default_exception_ce, exception, "string", sizeof("string")-1, EG(exce… in zend_exception_error()
903 if (EG(exception)) { in zend_exception_error()
906 …file = zend_read_property(default_exception_ce, EG(exception), "file", sizeof("file")-1, 1 TSRMLS_… in zend_exception_error()
907 …line = zend_read_property(default_exception_ce, EG(exception), "line", sizeof("line")-1, 1 TSRMLS_… in zend_exception_error()
916 …aught %s in exception handling during call to %s::__tostring()", Z_OBJCE_P(EG(exception))->name, c… in zend_exception_error()