From ea85451b65b904d0670c4011c819a15431720432 Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Fri, 28 Mar 2014 02:11:22 +0400 Subject: Refactored data structures to keep zend_object* instead of a whole zval in some places --- sapi/phpdbg/phpdbg_prompt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sapi/phpdbg/phpdbg_prompt.c') diff --git a/sapi/phpdbg/phpdbg_prompt.c b/sapi/phpdbg/phpdbg_prompt.c index 78aa4d87f3..d1dd468acb 100644 --- a/sapi/phpdbg/phpdbg_prompt.c +++ b/sapi/phpdbg/phpdbg_prompt.c @@ -84,7 +84,7 @@ static inline int phpdbg_call_register(phpdbg_input_t *input TSRMLS_DC) /* {{{ * fci.function_table = &PHPDBG_G(registered); ZVAL_STRINGL(&fci.function_name, function->string, function->length); fci.symbol_table = EG(active_symbol_table); - fci.object_ptr = NULL; + fci.object = NULL; fci.retval = &fretval; fci.no_separation = 1; @@ -512,7 +512,7 @@ static inline void phpdbg_handle_exception(TSRMLS_D) /* }}} */ fci.function_table = &Z_OBJCE(exception)->function_table; ZVAL_STRINGL(&fci.function_name, "__tostring", sizeof("__tostring") - 1); fci.symbol_table = NULL; - fci.object_ptr = &exception; + fci.object = EG(exception); fci.retval = &trace; fci.param_count = 0; fci.params = NULL; -- cgit v1.2.1