diff options
author | Dmitry Stogov <dmitry@zend.com> | 2017-06-19 12:55:59 +0300 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2017-06-19 12:55:59 +0300 |
commit | 9c2a1f52a5f087c70a9e91dc1f43e5718d1bd8b6 (patch) | |
tree | 3eb7097ebb986594ae03e54142240fca4b82e5f3 /ext/json/json.c | |
parent | 6fe75aad6da55e7ce473109e219fdc80bf3b7a51 (diff) | |
download | php-git-9c2a1f52a5f087c70a9e91dc1f43e5718d1bd8b6.tar.gz |
Avoid useless dereferences and separations during paramter passing.
Diffstat (limited to 'ext/json/json.c')
-rw-r--r-- | ext/json/json.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/json/json.c b/ext/json/json.c index 9803f48a3a..9c930ee1bc 100644 --- a/ext/json/json.c +++ b/ext/json/json.c @@ -227,7 +227,7 @@ static PHP_FUNCTION(json_encode) zend_long depth = PHP_JSON_PARSER_DEFAULT_DEPTH; ZEND_PARSE_PARAMETERS_START(1, 3) - Z_PARAM_ZVAL_DEREF(parameter) + Z_PARAM_ZVAL(parameter) Z_PARAM_OPTIONAL Z_PARAM_LONG(options) Z_PARAM_LONG(depth) |