helly Fri May 7 02:13:21 2004 EDT Modified files: /php-src/ext/spl spl_array.c Log: - Fix bug #28309 http://cvs.php.net/diff.php/php-src/ext/spl/spl_array.c?r1=1.46&r2=1.47&ty=u Index: php-src/ext/spl/spl_array.c diff -u php-src/ext/spl/spl_array.c:1.46 php-src/ext/spl/spl_array.c:1.47 --- php-src/ext/spl/spl_array.c:1.46 Thu May 6 04:57:20 2004 +++ php-src/ext/spl/spl_array.c Fri May 7 02:13:21 2004 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: spl_array.c,v 1.46 2004/05/06 08:57:20 helly Exp $ */ +/* $Id: spl_array.c,v 1.47 2004/05/07 06:13:21 helly Exp $ */ #ifdef HAVE_CONFIG_H # include "config.h" @@ -721,8 +721,6 @@ int spl_array_object_count_elements(zval *object, long *count TSRMLS_DC) /* {{{ */ { - *count = 0; - spl_array_object *intern = (spl_array_object*)zend_object_store_get_object(object TSRMLS_CC); HashTable *aht = HASH_OF(intern->array); HashPosition pos;
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php