summaryrefslogtreecommitdiff
path: root/ext/standard/password.c
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2019-01-10 15:35:00 +0100
committerNikita Popov <nikita.ppv@gmail.com>2019-01-10 15:35:00 +0100
commite88a08164198c11612f7764c70e3ec5bda7ab67e (patch)
tree4b8a427cea5dcf7c2bbc62f7f546850158771fc7 /ext/standard/password.c
parent50ba0149d932f2f068ce6e320b0d43e89718205f (diff)
downloadphp-git-e88a08164198c11612f7764c70e3ec5bda7ab67e.tar.gz
Remove unnecessary Z_PARAM_ZVAL_DEREFs
Diffstat (limited to 'ext/standard/password.c')
-rw-r--r--ext/standard/password.c4
1 files changed, 2 insertions, 2 deletions
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();