Lines Matching refs:trace
151 zval *trace; in zend_default_exception_new_ex() local
158 ALLOC_ZVAL(trace); in zend_default_exception_new_ex()
159 Z_UNSET_ISREF_P(trace); in zend_default_exception_new_ex()
160 Z_SET_REFCOUNT_P(trace, 0); in zend_default_exception_new_ex()
161 zend_fetch_debug_backtrace(trace, skip_top_traces, 0, 0 TSRMLS_CC); in zend_default_exception_new_ex()
165 zend_update_property(default_exception_ce, &obj, "trace", sizeof("trace")-1, trace TSRMLS_CC); in zend_default_exception_new_ex()
611 zval *trace; in ZEND_METHOD() local
617 …trace = zend_read_property(default_exception_ce, getThis(), "trace", sizeof("trace")-1, 1 TSRMLS_C… in ZEND_METHOD()
618 if(Z_TYPE_P(trace) != IS_ARRAY) { in ZEND_METHOD()
625 …zend_hash_apply_with_arguments(Z_ARRVAL_P(trace) TSRMLS_CC, (apply_func_args_t)_build_trace_string… in ZEND_METHOD()
665 zval message, file, line, *trace, *exception; in ZEND_METHOD() local
688 trace = NULL; in ZEND_METHOD()
694 fci.retval_ptr_ptr = &trace; in ZEND_METHOD()
701 if (trace && Z_TYPE_P(trace) != IS_STRING) { in ZEND_METHOD()
702 zval_ptr_dtor(&trace); in ZEND_METHOD()
703 trace = NULL; in ZEND_METHOD()
709 (trace && Z_STRLEN_P(trace)) ? Z_STRVAL_P(trace) : "#0 {main}\n", in ZEND_METHOD()
714 (trace && Z_STRLEN_P(trace)) ? Z_STRVAL_P(trace) : "#0 {main}\n", in ZEND_METHOD()
724 if (trace) { in ZEND_METHOD()
725 zval_ptr_dtor(&trace); in ZEND_METHOD()