summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2003-07-19 20:04:51 +0000
committerMarcus Boerger <helly@php.net>2003-07-19 20:04:51 +0000
commit9556c6c27e5388ce36707065476549ebc181cd5d (patch)
tree58bb22c407f6c1f683fb2a693a0b8e5db6074404
parent5fcc682ebc5968fa4cbdf04ce143f801cd059fdd (diff)
downloadphp-git-9556c6c27e5388ce36707065476549ebc181cd5d.tar.gz
This is meant to be used in for(;has_more;next)
# Probably the name of such functions should be eol (End-Of-List).
-rw-r--r--Zend/zend_hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_hash.c b/Zend/zend_hash.c
index e91ee2bc27..2081bd6ce4 100644
--- a/Zend/zend_hash.c
+++ b/Zend/zend_hash.c
@@ -1011,7 +1011,7 @@ ZEND_API int zend_hash_has_more_elements_ex(HashTable *ht, HashPosition *pos)
IS_CONSISTENT(ht);
- if (*current && (*current)->pListNext) {
+ if (*current) {
return SUCCESS;
} else {
return FAILURE;