summaryrefslogtreecommitdiff
path: root/Zend/zend_closures.h
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2009-01-03 17:48:40 +0000
committerMarcus Boerger <helly@php.net>2009-01-03 17:48:40 +0000
commit0e131653c17b22a1609387d758ffecaf8e8f64bc (patch)
treef5bb0595ee86c9b9a9fe35f3ab114aee0539061c /Zend/zend_closures.h
parent7ca830742e7668e04c2fa33da81220517ce0f2d8 (diff)
downloadphp-git-0e131653c17b22a1609387d758ffecaf8e8f64bc.tar.gz
- MFH Rebind closure when binding to property
Diffstat (limited to 'Zend/zend_closures.h')
-rw-r--r--Zend/zend_closures.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Zend/zend_closures.h b/Zend/zend_closures.h
index c326e329c4..006af06671 100644
--- a/Zend/zend_closures.h
+++ b/Zend/zend_closures.h
@@ -35,6 +35,7 @@ ZEND_API int zend_get_closure(zval *obj, zend_class_entry **ce_ptr, zend_functio
ZEND_API zend_function *zend_get_closure_invoke_method(zval *obj TSRMLS_DC);
ZEND_API const zend_function *zend_get_closure_method_def(zval *obj TSRMLS_DC);
ZEND_API zval* zend_get_closure_this_ptr(zval *obj TSRMLS_DC);
+ZEND_API zval* zend_closure_copy(zval *closure, zval *this_ptr TSRMLS_DC);
END_EXTERN_C()