Removed internal pointer reset from array_walk.

This commit is contained in:
Andrey Hristov 1999-08-16 14:19:49 +00:00
parent 236d54114c
commit a0bf6b0923
2 changed files with 0 additions and 2 deletions

View File

@ -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)

View 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 */