mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Remove Z_PARAM_ZVAL_DEREF
Since PHP 7.4 using this is very likely wrong, and we don't have any core uses of it for that reason. Extensions shouldn't be using it either. Accept as Z_PARAM_ZVAL and then assign using ZEND_TRY_ASSIGN macros.
This commit is contained in:
parent
33656f0289
commit
bbcfa5083e
1 changed files with 0 additions and 8 deletions
|
@ -1486,14 +1486,6 @@ ZEND_API ZEND_COLD void ZEND_FASTCALL zend_wrong_callback_error(int num, char *e
|
|||
#define Z_PARAM_ZVAL(dest) \
|
||||
Z_PARAM_ZVAL_EX(dest, 0, 0)
|
||||
|
||||
/* old "z" (with dereference) */
|
||||
#define Z_PARAM_ZVAL_DEREF_EX(dest, check_null, separate) \
|
||||
Z_PARAM_PROLOGUE(1, separate); \
|
||||
zend_parse_arg_zval_deref(_arg, &dest, check_null);
|
||||
|
||||
#define Z_PARAM_ZVAL_DEREF(dest) \
|
||||
Z_PARAM_ZVAL_DEREF_EX(dest, 0, 0)
|
||||
|
||||
/* old "+" and "*" */
|
||||
#define Z_PARAM_VARIADIC_EX(spec, dest, dest_num, post_varargs) do { \
|
||||
int _num_varargs = _num_args - _i - (post_varargs); \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue