Lines Matching refs:previous
97 zval *previous, *ancestor, *ex; in zend_exception_set_previous() local
128 previous = zend_read_property_ex(base_ce, Z_OBJ_P(ex), ZSTR_KNOWN(ZEND_STR_PREVIOUS), 1, &rv); in zend_exception_set_previous()
129 ZVAL_DEREF(previous); in zend_exception_set_previous()
130 if (Z_TYPE_P(previous) == IS_NULL) { in zend_exception_set_previous()
135 ex = previous; in zend_exception_set_previous()
186 zend_object *previous = EG(exception); in zend_throw_exception_internal() local
187 if (previous && zend_is_unwind_exit(previous)) { in zend_throw_exception_internal()
195 if (previous) { in zend_throw_exception_internal()
310 zval tmp, *object, *previous = NULL; in ZEND_METHOD() local
316 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "|SlO!", &message, &code, &previous, zend_ce_throwable)… in ZEND_METHOD()
330 if (previous) { in ZEND_METHOD()
331 zend_update_property_ex(base_ce, Z_OBJ_P(object), ZSTR_KNOWN(ZEND_STR_PREVIOUS), previous); in ZEND_METHOD()
361 zval tmp, *object, *previous = NULL; in ZEND_METHOD() local
363 …!O!", &message, &code, &severity, &filename, &lineno, &lineno_is_null, &previous, zend_ce_throwabl… in ZEND_METHOD()
380 if (previous) { in ZEND_METHOD()
381 …nd_update_property_ex(zend_ce_exception, Z_OBJ_P(object), ZSTR_KNOWN(ZEND_STR_PREVIOUS), previous); in ZEND_METHOD()