[php-src] master: Zend: use zend_is_callable_ex() in zend_execute.c
| From: | Gina Peter Banyard | Date: | Tue, 29 Sep 2026 21:51:25 +0000 |
| Subject: | [php-src] master: Zend: use zend_is_callable_ex() in zend_execute.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-141742@lists.php.net to get a copy of this message | ||
Author: Gina Peter Banyard (Girgias)
Date: 2026-09-29T22:50:47+01:00
Commit: https://github.com/php/php-src/commit/03791b9dac0a1c55779e53204d36df23acde5c59
Raw diff: https://github.com/php/php-src/commit/03791b9dac0a1c55779e53204d36df23acde5c59.diff
Zend: use zend_is_callable_ex() in zend_execute.c
Changed paths:
M Zend/zend_execute.c
Diff:
diff --git a/Zend/zend_execute.c b/Zend/zend_execute.c
index ff3a5f0b3de9..9c414634a23e 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)) {