From: Sterling Hughes Date: Sun, 9 Sep 2001 11:03:31 +0000 (+0000) Subject: remove ARG_COUNT(ht) X-Git-Tag: PRE_SUBST_Z_MACROS~150 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ff2bc83c085051ddb784d6f2c9010c1cce1aa0e5;p=php remove ARG_COUNT(ht) # Is there any reason that the set_compare_func call is passed SORT_STRING # instead of SORT_REGULAR?? --- diff --git a/ext/standard/array.c b/ext/standard/array.c index 83942db409..17726cf422 100644 --- a/ext/standard/array.c +++ b/ext/standard/array.c @@ -2251,7 +2251,7 @@ PHP_FUNCTION(array_unique) Bucket *p; int i; - if (ARG_COUNT(ht) != 1 || zend_get_parameters_ex(1, &array) == FAILURE) { + if (ZEND_NUM_ARGS() != 1 || zend_get_parameters_ex(1, &array) == FAILURE) { WRONG_PARAM_COUNT; } target_hash = HASH_OF(*array);