diff options
Diffstat (limited to 'ext/standard/levenshtein.c')
-rw-r--r-- | ext/standard/levenshtein.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/levenshtein.c b/ext/standard/levenshtein.c index 2ba8bfeeb8..ccb767b6d8 100644 --- a/ext/standard/levenshtein.c +++ b/ext/standard/levenshtein.c @@ -102,7 +102,7 @@ PHP_FUNCTION(levenshtein) zval **str1, **str2; int l; - if (ARG_COUNT(ht) != 2 || zend_get_parameters_ex(2, &str1, &str2) == FAILURE) { + if (ZEND_NUM_ARGS() != 2 || zend_get_parameters_ex(2, &str1, &str2) == FAILURE) { WRONG_PARAM_COUNT; } convert_to_string_ex(str1); |