Commit 03791b9dac0 for php
commit 03791b9dac0a1c55779e53204d36df23acde5c59
Author: Gina Peter Banyard <girgias@php.net>
Date: Tue Sep 29 17:11:55 2026 +0100
Zend: use zend_is_callable_ex() in zend_execute.c
diff --git a/Zend/zend_execute.c b/Zend/zend_execute.c
index ff3a5f0b3de..9c414634a23 100644
--- a/Zend/zend_execute.c
+++ b/Zend/zend_execute.c
@@ -1213,7 +1213,7 @@ static zend_always_inline bool zend_check_type_slow(
const uint32_t type_mask = ZEND_TYPE_FULL_MASK(*type);
if ((type_mask & MAY_BE_CALLABLE) &&
- zend_is_callable(arg, is_internal ? IS_CALLABLE_SUPPRESS_DEPRECATIONS : 0, NULL)) {
+ zend_is_callable_ex(arg, NULL, is_internal ? IS_CALLABLE_SUPPRESS_DEPRECATIONS : 0, NULL, NULL, NULL)) {
return 1;
}
if ((type_mask & MAY_BE_STATIC) && zend_value_instanceof_static(arg)) {