summaryrefslogtreecommitdiff
path: root/Zend/zend_variables.h
diff options
context:
space:
mode:
authorStefan Marr <gron@php.net>2010-06-08 15:56:36 +0000
committerStefan Marr <gron@php.net>2010-06-08 15:56:36 +0000
commite6bd5368ad144267c2b7263d84b7d2159c3d2548 (patch)
tree2cfe42d0ca4830eaeffa5d800577085cbdfb3e60 /Zend/zend_variables.h
parentdf3b9225fd219583865f2d053e37c54863362c33 (diff)
downloadphp-git-e6bd5368ad144267c2b7263d84b7d2159c3d2548.tar.gz
Fixed issue with statics in traits.
#Please review this change, I moved the routine which copies statics from the closure code to zend_variables.c #Please also have a look to check whether the TSRMLS_DC is correct, and whether it fits with the rest in zend_variables, because there you are using some macro magic and I am not exactly sure what the reason is for that.
Diffstat (limited to 'Zend/zend_variables.h')
-rw-r--r--Zend/zend_variables.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Zend/zend_variables.h b/Zend/zend_variables.h
index 8701643333..baf905fa5c 100644
--- a/Zend/zend_variables.h
+++ b/Zend/zend_variables.h
@@ -45,6 +45,7 @@ static zend_always_inline void _zval_copy_ctor(zval *zvalue ZEND_FILE_LINE_DC)
_zval_copy_ctor_func(zvalue ZEND_FILE_LINE_RELAY_CC);
}
+ZEND_API int zval_copy_static_var(zval **p TSRMLS_DC, int num_args, va_list args, zend_hash_key *key);
ZEND_API int zend_print_variable(zval *var);
ZEND_API void _zval_ptr_dtor(zval **zval_ptr ZEND_FILE_LINE_DC);