summaryrefslogtreecommitdiff
path: root/ext/standard/soundex.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/soundex.c')
-rw-r--r--ext/standard/soundex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/soundex.c b/ext/standard/soundex.c
index 694c9bc4da..c6d733c75c 100644
--- a/ext/standard/soundex.c
+++ b/ext/standard/soundex.c
@@ -61,7 +61,7 @@ PHP_FUNCTION(soundex)
0, /* Y */
'2'}; /* Z */
- if (ARG_COUNT(ht) != 1 || zend_get_parameters_ex(1, &parg) == FAILURE) {
+ if (ZEND_NUM_ARGS() != 1 || zend_get_parameters_ex(1, &parg) == FAILURE) {
WRONG_PARAM_COUNT;
}
convert_to_string_ex(parg);