diff options
| author | Nikita Popov <nikita.ppv@gmail.com> | 2019-06-06 13:05:11 +0200 |
|---|---|---|
| committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-06-17 11:46:28 +0200 |
| commit | 4d90848d68c4e9a07f8c687f781ae8843d4f64d3 (patch) | |
| tree | b66351de514352ebc031b5a8b0a92464b3e5f5e9 /Zend/zend_execute.h | |
| parent | be6c083f28c27a3db1456edaa3be38063d4e7bc9 (diff) | |
| download | php-git-4d90848d68c4e9a07f8c687f781ae8843d4f64d3.tar.gz | |
Don't verify arginfo types for internal functions
To avoid duplicate type checks. In debug builds arginfo is still
checked and will generate an assertions if the function doesn't
subsequently throw an exception.
Some test results change due to differences in zpp and arginfo
error messages.
Diffstat (limited to 'Zend/zend_execute.h')
| -rw-r--r-- | Zend/zend_execute.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Zend/zend_execute.h b/Zend/zend_execute.h index 6ef9baf252..a77a909533 100644 --- a/Zend/zend_execute.h +++ b/Zend/zend_execute.h @@ -52,7 +52,6 @@ ZEND_API int zend_eval_stringl_ex(const char *str, size_t str_len, zval *retval_ /* 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 ZEND_COLD void ZEND_FASTCALL zend_missing_arg_error(zend_execute_data *execute_data); |
