Commit 6d294c67ea9 for php
commit 6d294c67ea95c82f7724577983d8b5fa49d237ec
Merge: ac9b9c225d1 57e3ec738a4
Author: Gina Peter Banyard <girgias@php.net>
Date: Tue Nov 10 00:58:18 2026 +0000
Merge branch 'PHP-8.6'
* PHP-8.6:
Zend: follow-up for GH-22145. Fix zend_fcc_closure_equals_ex() implementation (#24007)
diff --cc Zend/zend_closures.h
index 051bffe98eb,1d3fc89c1df..8d457284266
--- a/Zend/zend_closures.h
+++ b/Zend/zend_closures.h
@@@ -39,8 -39,13 +39,13 @@@ ZEND_API void zend_create_fake_closure(
ZEND_API void zend_create_partial_closure(zval *res, zend_function *func, zend_class_entry *scope, zend_class_entry *called_scope, zend_object *this_ptr, bool partial_of_closure);
ZEND_API zend_function *zend_get_closure_invoke_method(zend_object *obj);
ZEND_API const zend_function *zend_get_closure_method_def(zend_object *obj);
-ZEND_API zend_object* zend_get_closure_this_ptr(zval *obj);
+ZEND_API zend_object* zend_get_closure_this_ptr(zend_object *closure_zobj);
+ ZEND_API bool zend_fn_closure_equals_ex(
+ const zend_function *fn_a, const zend_object *closure_zobj_a,
+ const zend_function *fn_b, const zend_object *closure_zobj_b
+ );
+
END_EXTERN_C()
#endif