helly Thu Mar 10 19:41:42 2005 EDT Modified files: /php-src/ext/spl spl_array.c Log: - Don't touch refcount/is_ref http://cvs.php.net/diff.php/php-src/ext/spl/spl_array.c?r1=1.63&r2=1.64&ty=u Index: php-src/ext/spl/spl_array.c diff -u php-src/ext/spl/spl_array.c:1.63 php-src/ext/spl/spl_array.c:1.64 --- php-src/ext/spl/spl_array.c:1.63 Tue Mar 8 16:33:15 2005 +++ php-src/ext/spl/spl_array.c Thu Mar 10 19:41:42 2005 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: spl_array.c,v 1.63 2005/03/08 21:33:15 johannes Exp $ */ +/* $Id: spl_array.c,v 1.64 2005/03/11 00:41:42 helly Exp $ */ #ifdef HAVE_CONFIG_H # include "config.h" @@ -893,8 +893,7 @@ if (zend_hash_get_current_data_ex(aht, (void **) &entry, &intern->pos) == FAILURE) { return; } - *return_value = **entry; - zval_copy_ctor(return_value); + RETVAL_ZVAL(*entry, 1, 0); } /* }}} */
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php