Commit dfbaf9e728d for php

commit dfbaf9e728d0b82f5e86580c49141742cf1f57f2
Author: Gina Peter Banyard <girgias@php.net>
Date:   Tue Sep 29 17:14:56 2026 +0100

    Zend: change signature of zend_is_callable()

    The current signature is effectively useless every call uses the _ex variant to be able to grab the FCC and usually the error message.
    Something the current signature does not provide, and instead offers parameters that most call sites don't care about.

    Closes GH-23996

diff --git a/UPGRADING.INTERNALS b/UPGRADING.INTERNALS
index 82f273974cd..24f6a1b9667 100644
--- a/UPGRADING.INTERNALS
+++ b/UPGRADING.INTERNALS
@@ -29,6 +29,10 @@ PHP 8.7 INTERNALS UPGRADE NOTES
   and C23, which means that ZEND_NORETURN needs to come first in the modifier
   list. Consider using noreturn (C11) / [[noreturn]] (C23) directly if
   header interoperability is not required.
+- The signature of zend_is_callable() has been changed to
+  zend_is_callable(const zval *callable, zend_fcall_info_cache *fcc, char **error)
+  from zend_is_callable(const zval *callable, uint32_t check_flags, zend_string **callable_name).
+  This new signature covers the most common parameters used with zend_is_callable_ex().

 ========================
 2. Build system changes
diff --git a/Zend/zend_API.h b/Zend/zend_API.h
index 5c408305220..c94a71cf56b 100644
--- a/Zend/zend_API.h
+++ b/Zend/zend_API.h
@@ -422,9 +422,9 @@ ZEND_API bool zend_is_callable_at_frame(
 		const zval *callable, zend_object *object, const zend_execute_data *frame,
 		uint32_t check_flags, zend_fcall_info_cache *fcc, char **error);
 ZEND_API bool zend_is_callable_ex(const zval *callable, zend_object *object, uint32_t check_flags, zend_string **callable_name, zend_fcall_info_cache *fcc, char **error);
-static zend_always_inline bool zend_is_callable(const zval *callable, uint32_t check_flags, zend_string **callable_name)
+static zend_always_inline bool zend_is_callable(const zval *callable, zend_fcall_info_cache *fcc, char **error)
 {
-	return zend_is_callable_ex(callable, NULL, check_flags, callable_name, NULL, NULL);
+	return zend_is_callable_ex(callable, NULL, 0, NULL, fcc, error);
 }

 ZEND_API const char *zend_get_module_version(const char *module_name);