summaryrefslogtreecommitdiff
path: root/ext/standard/http.c
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2017-06-19 12:55:59 +0300
committerDmitry Stogov <dmitry@zend.com>2017-06-19 12:55:59 +0300
commit9c2a1f52a5f087c70a9e91dc1f43e5718d1bd8b6 (patch)
tree3eb7097ebb986594ae03e54142240fca4b82e5f3 /ext/standard/http.c
parent6fe75aad6da55e7ce473109e219fdc80bf3b7a51 (diff)
downloadphp-git-9c2a1f52a5f087c70a9e91dc1f43e5718d1bd8b6.tar.gz
Avoid useless dereferences and separations during paramter passing.
Diffstat (limited to 'ext/standard/http.c')
-rw-r--r--ext/standard/http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/http.c b/ext/standard/http.c
index 9a8f7fd20c..e270342c7b 100644
--- a/ext/standard/http.c
+++ b/ext/standard/http.c
@@ -233,7 +233,7 @@ PHP_FUNCTION(http_build_query)
zend_long enc_type = PHP_QUERY_RFC1738;
ZEND_PARSE_PARAMETERS_START(1, 4)
- Z_PARAM_ZVAL_DEREF(formdata)
+ Z_PARAM_ZVAL(formdata)
Z_PARAM_OPTIONAL
Z_PARAM_STRING(prefix, prefix_len)
Z_PARAM_STRING(arg_sep, arg_sep_len)