Lines Matching refs:trace
159 zval *trace; in zend_default_exception_new_ex() local
166 ALLOC_ZVAL(trace); in zend_default_exception_new_ex()
167 Z_UNSET_ISREF_P(trace); in zend_default_exception_new_ex()
168 Z_SET_REFCOUNT_P(trace, 0); in zend_default_exception_new_ex()
169 zend_fetch_debug_backtrace(trace, skip_top_traces, 0, 0 TSRMLS_CC); in zend_default_exception_new_ex()
173 zend_update_property(default_exception_ce, &obj, "trace", sizeof("trace")-1, trace TSRMLS_CC); in zend_default_exception_new_ex()
619 zval *trace; in ZEND_METHOD() local
625 …trace = zend_read_property(default_exception_ce, getThis(), "trace", sizeof("trace")-1, 1 TSRMLS_C… in ZEND_METHOD()
626 if (Z_TYPE_P(trace) != IS_ARRAY) { in ZEND_METHOD()
633 …zend_hash_apply_with_arguments(Z_ARRVAL_P(trace) TSRMLS_CC, (apply_func_args_t)_build_trace_string… in ZEND_METHOD()
674 zval message, file, line, *trace, *exception; in ZEND_METHOD() local
697 trace = NULL; in ZEND_METHOD()
703 fci.retval_ptr_ptr = &trace; in ZEND_METHOD()
710 if (trace && Z_TYPE_P(trace) != IS_STRING) { in ZEND_METHOD()
711 zval_ptr_dtor(&trace); in ZEND_METHOD()
712 trace = NULL; in ZEND_METHOD()
718 (trace && Z_STRLEN_P(trace)) ? Z_STRVAL_P(trace) : "#0 {main}\n", in ZEND_METHOD()
723 (trace && Z_STRLEN_P(trace)) ? Z_STRVAL_P(trace) : "#0 {main}\n", in ZEND_METHOD()
737 if (trace) { in ZEND_METHOD()
738 zval_ptr_dtor(&trace); in ZEND_METHOD()