diff options
| author | Andrey Hristov <andrey@php.net> | 1999-08-14 16:43:38 +0000 |
|---|---|---|
| committer | Andrey Hristov <andrey@php.net> | 1999-08-14 16:43:38 +0000 |
| commit | c85209985a8d671d4a1a5146eeab2dda23f14f04 (patch) | |
| tree | 15944854a7600d878d35ae7fdbb06ecd42550ede | |
| parent | f12728f13e6a35dd4551645771e95084aa1179a6 (diff) | |
| download | php-git-c85209985a8d671d4a1a5146eeab2dda23f14f04.tar.gz | |
Forgot to have internal pointer reset.
| -rw-r--r-- | ext/standard/basic_functions.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/standard/basic_functions.c b/ext/standard/basic_functions.c index 8a6a8be6cb..27832186d8 100644 --- a/ext/standard/basic_functions.c +++ b/ext/standard/basic_functions.c @@ -1470,6 +1470,7 @@ 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 */ |
