cvs: php4 /ext/standard array.c

From: Date: Sun, 09 Sep 2001 11:03:33 +0000
Subject: cvs: php4 /ext/standard array.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-7329@lists.php.net to get a copy of this message
sterling Sun Sep 9 07:03:33 2001 EDT Modified files: /php4/ext/standard array.c Log: remove ARG_COUNT(ht) # Is there any reason that the set_compare_func call is passed SORT_STRING # instead of SORT_REGULAR?? Index: php4/ext/standard/array.c diff -u php4/ext/standard/array.c:1.133 php4/ext/standard/array.c:1.134 --- php4/ext/standard/array.c:1.133 Wed Sep 5 15:47:54 2001 +++ php4/ext/standard/array.c Sun Sep 9 07:03:31 2001 @@ -21,7 +21,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: array.c,v 1.133 2001/09/05 19:47:54 sniper Exp $ */ +/* $Id: array.c,v 1.134 2001/09/09 11:03:31 sterling Exp $ */ #include "php.h" #include "php_ini.h" @@ -2251,7 +2251,7 @@ 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);

« previous php.cvs (#7329) next »