summaryrefslogtreecommitdiff
path: root/ext/standard/array.c
diff options
context:
space:
mode:
authorAndrei Zmievski <andrei@php.net>2000-06-28 20:09:04 +0000
committerAndrei Zmievski <andrei@php.net>2000-06-28 20:09:04 +0000
commit49365eea7982fcd53e6a32b707cab1b41a0e02f7 (patch)
tree9dcddaa091371bfe6b097a437eaf980f5bb1225f /ext/standard/array.c
parent29e8e565c6b518a99e550e45b5adfd4d01dafb7d (diff)
downloadphp-git-49365eea7982fcd53e6a32b707cab1b41a0e02f7.tar.gz
Oops, didn't mean to commit that.
Diffstat (limited to 'ext/standard/array.c')
-rw-r--r--ext/standard/array.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/array.c b/ext/standard/array.c
index 2eced456c2..6910fbb701 100644
--- a/ext/standard/array.c
+++ b/ext/standard/array.c
@@ -1373,7 +1373,7 @@ HashTable* php_splice(HashTable *in_hash, int offset, int length,
if (p->nKeyLength)
zend_hash_update(out_hash, p->arKey, p->nKeyLength, &entry, sizeof(zval *), NULL);
else
- zend_hash_index_update(out_hash, p->h, &entry, sizeof(zval *), NULL);
+ zend_hash_next_index_insert(out_hash, &entry, sizeof(zval *), NULL);
}
/* If hash for removed entries exists, go until offset+length
@@ -1385,7 +1385,7 @@ HashTable* php_splice(HashTable *in_hash, int offset, int length,
if (p->nKeyLength)
zend_hash_update(*removed, p->arKey, p->nKeyLength, &entry, sizeof(zval *), NULL);
else
- zend_hash_index_update(*removed, p->h, &entry, sizeof(zval *), NULL);
+ zend_hash_next_index_insert(*removed, &entry, sizeof(zval *), NULL);
}
} else /* otherwise just skip those entries */
for( ; pos<offset+length && p; pos++, p=p->pListNext);