From 5d671dd4b26c3c13b78807a50abf5fe4482888ae Mon Sep 17 00:00:00 2001 From: Sebastian Bergmann Date: Tue, 1 Nov 2005 13:18:34 +0000 Subject: Add an additional field $frame['object'] to the result array of debug_backtrace() that contains a reference to the respective object when the frame was called from an object. This revised patch has been reviewed by Dmitry and Zeev. --- Zend/zend_builtin_functions.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Zend/zend_builtin_functions.h') diff --git a/Zend/zend_builtin_functions.h b/Zend/zend_builtin_functions.h index e5304360c1..d8f06c61f6 100644 --- a/Zend/zend_builtin_functions.h +++ b/Zend/zend_builtin_functions.h @@ -25,7 +25,7 @@ int zend_startup_builtin_functions(TSRMLS_D); BEGIN_EXTERN_C() -ZEND_API void zend_fetch_debug_backtrace(zval *return_value, int skip_last TSRMLS_DC); +ZEND_API void zend_fetch_debug_backtrace(zval *return_value, int skip_last, int provide_object TSRMLS_DC); END_EXTERN_C() #endif /* ZEND_BUILTIN_FUNCTIONS_H */ -- cgit v1.2.1