[php-src] master: Zend: rename zend_is_callable_check_func function

From: Date: Fri, 31 Jul 2026 12:56:36 +0000
Subject: [php-src] master: Zend: rename zend_is_callable_check_func function
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-140367@lists.php.net to get a copy of this message
Author: Gina Peter Banyard (Girgias) Date: 2026-07-31T13:56:30+01:00 Commit: https://github.com/php/php-src/commit/46ab6952715e76954eebc548ed885b1f381fd8af Raw diff: https://github.com/php/php-src/commit/46ab6952715e76954eebc548ed885b1f381fd8af.diff Zend: rename zend_is_callable_check_func function Rename it to zend_is_string_callable as it is more descriptive Changed paths: M Zend/zend_API.c Diff: diff --git a/Zend/zend_API.c b/Zend/zend_API.c index c8959328d370..261c74eac39d 100644 --- a/Zend/zend_API.c +++ b/Zend/zend_API.c @@ -3818,7 +3818,7 @@ ZEND_API void zend_release_fcall_info_cache(zend_fcall_info_cache *fcc) { } } -static zend_always_inline bool zend_is_callable_check_func(zend_string *callable, const zend_execute_data *frame, zend_fcall_info_cache *fcc, bool strict_class, char **error, bool suppress_deprecation) /* {{{ */ +static zend_always_inline bool zend_is_string_callable(zend_string *callable, const zend_execute_data *frame, zend_fcall_info_cache *fcc, bool strict_class, char **error, bool suppress_deprecation) /* {{{ */ { zend_class_entry *ce_org = fcc->calling_scope; bool retval = false; @@ -4188,7 +4188,7 @@ ZEND_API bool zend_is_callable_at_frame( } check_func: - ret = zend_is_callable_check_func(Z_STR_P(callable), frame, fcc, strict_class, error, check_flags & IS_CALLABLE_SUPPRESS_DEPRECATIONS); + ret = zend_is_string_callable(Z_STR_P(callable), frame, fcc, strict_class, error, check_flags & IS_CALLABLE_SUPPRESS_DEPRECATIONS); if (fcc == &fcc_local) { zend_release_fcall_info_cache(fcc); }

« previous php.cvs (#140367) next »