summaryrefslogtreecommitdiff
path: root/Zend/zend_API.h
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-11-19 10:29:32 +0100
committerNikita Popov <nikita.ppv@gmail.com>2020-11-19 10:29:32 +0100
commit46b9e0c874bedc90ea092099fa7d0be11395148c (patch)
tree6ab65ed347a7cdee3770426f46bac14a1b5846db /Zend/zend_API.h
parent06c4a501fdfb800d93725c4bb2b8b95e397ce07c (diff)
downloadphp-git-46b9e0c874bedc90ea092099fa7d0be11395148c.tar.gz
Export zend_is_callable_at_frame
Export the zend_is_callable_impl() function as zend_is_callable_at_frame() for use by extension. As twose pointed out, an extension may want to retrieve fcc for a private method.
Diffstat (limited to 'Zend/zend_API.h')
-rw-r--r--Zend/zend_API.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Zend/zend_API.h b/Zend/zend_API.h
index 0b6808b678..290db040b2 100644
--- a/Zend/zend_API.h
+++ b/Zend/zend_API.h
@@ -352,6 +352,9 @@ ZEND_API ZEND_COLD void zend_wrong_param_count(void);
ZEND_API void zend_release_fcall_info_cache(zend_fcall_info_cache *fcc);
ZEND_API zend_string *zend_get_callable_name_ex(zval *callable, zend_object *object);
ZEND_API zend_string *zend_get_callable_name(zval *callable);
+ZEND_API zend_bool zend_is_callable_at_frame(
+ zval *callable, zend_object *object, zend_execute_data *frame,
+ uint32_t check_flags, zend_fcall_info_cache *fcc, char **error);
ZEND_API zend_bool zend_is_callable_ex(zval *callable, zend_object *object, uint32_t check_flags, zend_string **callable_name, zend_fcall_info_cache *fcc, char **error);
ZEND_API zend_bool zend_is_callable(zval *callable, uint32_t check_flags, zend_string **callable_name);
ZEND_API zend_bool zend_make_callable(zval *callable, zend_string **callable_name);