summaryrefslogtreecommitdiff
path: root/Zend/zend_execute.h
diff options
context:
space:
mode:
authorBob Weinand <bobwei9@hotmail.com>2016-04-30 20:46:52 +0200
committerBob Weinand <bobwei9@hotmail.com>2016-04-30 20:46:52 +0200
commitf59de7ea368da55f1f21ca82810febb3cdec06f0 (patch)
treece1ce38ea7f3cdc34191f2cf77cc40b9841572b9 /Zend/zend_execute.h
parent0615c59a4fef83e0d90384c5f5664e72874c680c (diff)
downloadphp-git-f59de7ea368da55f1f21ca82810febb3cdec06f0.tar.gz
Export zend_pass_function to allow comparisons against it
Diffstat (limited to 'Zend/zend_execute.h')
-rw-r--r--Zend/zend_execute.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Zend/zend_execute.h b/Zend/zend_execute.h
index 011a4f126a..36a44f6395 100644
--- a/Zend/zend_execute.h
+++ b/Zend/zend_execute.h
@@ -50,6 +50,9 @@ ZEND_API int zend_eval_stringl(char *str, size_t str_len, zval *retval_ptr, char
ZEND_API int zend_eval_string_ex(char *str, zval *retval_ptr, char *string_name, int handle_exceptions);
ZEND_API int zend_eval_stringl_ex(char *str, size_t str_len, zval *retval_ptr, char *string_name, int handle_exceptions);
+/* export zend_pass_function to allow comparisons against it */
+extern ZEND_API const zend_internal_function zend_pass_function;
+
ZEND_API void ZEND_FASTCALL zend_check_internal_arg_type(zend_function *zf, uint32_t arg_num, zval *arg);
ZEND_API int ZEND_FASTCALL zend_check_arg_type(zend_function *zf, uint32_t arg_num, zval *arg, zval *default_value, void **cache_slot);
ZEND_API void ZEND_FASTCALL zend_check_missing_arg(zend_execute_data *execute_data, uint32_t arg_num, void **cache_slot);