diff options
author | Dmitry Stogov <dmitry@zend.com> | 2016-06-16 02:32:02 +0300 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2016-06-16 02:32:02 +0300 |
commit | ff363e2e7c58353b7e2751d1ca4d7bf616862aae (patch) | |
tree | 318bcb9b453c607f1d49c114999895748903b3da /Zend/zend_execute.h | |
parent | a9512af8109e889eb2c6042c57797184930667cd (diff) | |
download | php-git-ff363e2e7c58353b7e2751d1ca4d7bf616862aae.tar.gz |
Implemented RFC: Replace "Missing argument" warning with "Too few arguments" exception
Squashed commit of the following:
commit 8b45fa2acb8cd92542a39e1e4720fe1f4fabc26c
Author: Dmitry Stogov <dmitry@zend.com>
Date: Thu Jun 16 01:52:50 2016 +0300
Separate slow path of ZEND_RECV into a cold function.
commit 9e18895ee59c64c93a96b1ba3061355c4663e962
Author: Dmitry Stogov <dmitry@zend.com>
Date: Wed Jun 15 23:26:28 2016 +0300
Required argument can't be IS_UNDEF anymore.
commit 662db66e3943d4455c65e4f987bb54abf724ecb2
Author: Dmitry Stogov <dmitry@zend.com>
Date: Tue May 31 17:14:50 2016 +0300
Replace "Missing argument" warning by "Too few arguments" exception.
Diffstat (limited to 'Zend/zend_execute.h')
-rw-r--r-- | Zend/zend_execute.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_execute.h b/Zend/zend_execute.h index e70465fdc6..82c6a4a415 100644 --- a/Zend/zend_execute.h +++ b/Zend/zend_execute.h @@ -54,7 +54,7 @@ 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); +ZEND_API ZEND_COLD void ZEND_FASTCALL zend_missing_arg_error(zend_execute_data *execute_data); static zend_always_inline zval* zend_assign_to_variable(zval *variable_ptr, zval *value, zend_uchar value_type) { |