diff options
| author | Sterling Hughes <sterling@php.net> | 2001-09-09 11:03:31 +0000 | 
|---|---|---|
| committer | Sterling Hughes <sterling@php.net> | 2001-09-09 11:03:31 +0000 | 
| commit | ff2bc83c085051ddb784d6f2c9010c1cce1aa0e5 (patch) | |
| tree | 9657bf925803d6274ae66f4992d94d6da5513c3b /ext/standard/array.c | |
| parent | 6963ac405006e66a1628eaae057f92fd9ca83f6e (diff) | |
| download | php-git-ff2bc83c085051ddb784d6f2c9010c1cce1aa0e5.tar.gz | |
remove ARG_COUNT(ht)
# Is there any reason that the set_compare_func call is passed SORT_STRING
# instead of SORT_REGULAR??
Diffstat (limited to 'ext/standard/array.c')
| -rw-r--r-- | ext/standard/array.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| 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); | 
