From: Nikita Popov Date: Thu, 10 Jan 2019 14:35:00 +0000 (+0100) Subject: Remove unnecessary Z_PARAM_ZVAL_DEREFs X-Git-Tag: php-7.4.0alpha1~1245 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e88a08164198c11612f7764c70e3ec5bda7ab67e;p=php Remove unnecessary Z_PARAM_ZVAL_DEREFs --- diff --git a/ext/standard/password.c b/ext/standard/password.c index 7998559e94..a25d1ad1cf 100644 --- a/ext/standard/password.c +++ b/ext/standard/password.c @@ -664,7 +664,7 @@ PHP_FUNCTION(password_needs_rehash) ZEND_PARSE_PARAMETERS_START(2, 3) Z_PARAM_STR(hash) - Z_PARAM_ZVAL_DEREF(znew_algo) + Z_PARAM_ZVAL(znew_algo) Z_PARAM_OPTIONAL Z_PARAM_ARRAY_OR_OBJECT_HT(options) ZEND_PARSE_PARAMETERS_END(); @@ -713,7 +713,7 @@ PHP_FUNCTION(password_hash) ZEND_PARSE_PARAMETERS_START(2, 3) Z_PARAM_STR(password) - Z_PARAM_ZVAL_DEREF(zalgo) + Z_PARAM_ZVAL(zalgo) Z_PARAM_OPTIONAL Z_PARAM_ARRAY_OR_OBJECT_HT(options) ZEND_PARSE_PARAMETERS_END();