mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
Removed internal pointer reset from array_walk.
This commit is contained in:
parent
236d54114c
commit
a0bf6b0923
@ -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)
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user