]> granicus.if.org Git - php/commitdiff
Removed internal pointer reset from array_walk.
authorAndrey Hristov <andrey@php.net>
Mon, 16 Aug 1999 14:19:49 +0000 (14:19 +0000)
committerAndrey Hristov <andrey@php.net>
Mon, 16 Aug 1999 14:19:49 +0000 (14:19 +0000)
ChangeLog
ext/standard/basic_functions.c

index db08cdb15bba17fea7359e2d4a8347ec94f960cf..915995ae722dd4c258fb2c6139688d1667b35e6b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,7 +2,6 @@ PHP 4.0 CHANGE LOG                                                    ChangeLog
 |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
 
 ?? ?? 1999, Version 4.0 Beta 3
-- Fixed array_walk to always reset array pointer before working (Andrey)
 - Fixed thread-safety issues in the MySQL module (Zeev)
 - Fixed thread-safe support for dynamic modules (Zeev)
 - Fixed Sybase CT build process (Zeev)
index 27832186d88657f271c355ce71f9f1441b12af34..8a6a8be6cb2ca41140702da9e9f1ceeca81cd203 100644 (file)
@@ -1470,7 +1470,6 @@ static int php_array_walk(HashTable *target_hash, zval **userdata)
        args[1] = &key;
        args[2] = userdata;
 
-       zend_hash_internal_pointer_reset(target_hash);
        /* Iterate through hash */
        while(zend_hash_get_current_data(target_hash, (void **)&args[0]) == SUCCESS) {
                /* Set up the key */