diff options
Diffstat (limited to 'ext/mhash/mhash.c')
| -rw-r--r-- | ext/mhash/mhash.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/mhash/mhash.c b/ext/mhash/mhash.c index 5354d35594..6861d48adc 100644 --- a/ext/mhash/mhash.c +++ b/ext/mhash/mhash.c @@ -95,8 +95,8 @@ PHP_MINFO_FUNCTION(mhash) Gets the number of available hashes */ PHP_FUNCTION(mhash_count) { - if (ZEND_NUM_ARGS() != 0) { - WRONG_PARAM_COUNT; + if (zend_parse_parameters_none() == FAILURE) { + return; } RETURN_LONG(mhash_count()); |
