From 7a20ba43d38a29c04d14cb3998128073fb17c7c8 Mon Sep 17 00:00:00 2001 From: "Christoph M. Becker" Date: Sun, 15 Sep 2019 21:27:45 +0200 Subject: [PATCH] Add missing ZPP_none() --- ext/hash/hash.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ext/hash/hash.c b/ext/hash/hash.c index 9204aaa2db..656cdf980f 100644 --- a/ext/hash/hash.c +++ b/ext/hash/hash.c @@ -598,6 +598,10 @@ PHP_FUNCTION(hash_algos) { zend_string *str; + if (zend_parse_parameters_none() == FAILURE) { + return; + } + array_init(return_value); ZEND_HASH_FOREACH_STR_KEY(&php_hash_hashtable, str) { add_next_index_str(return_value, zend_string_copy(str)); -- 2.40.0