summaryrefslogtreecommitdiff
path: root/Zend/zend_hash.h
diff options
context:
space:
mode:
authorNikita Popov <nikic@php.net>2014-04-09 11:20:55 +0200
committerNikita Popov <nikic@php.net>2014-04-09 12:31:21 +0200
commitad2ef3d97edab0d0ce034e65b7e3da1a38cc15dd (patch)
tree70d5aecb331426e5058b28e6d97b0c80e969fa4a /Zend/zend_hash.h
parentf485c84a142a28c594dd7bcc3760a406dd4c5883 (diff)
downloadphp-git-ad2ef3d97edab0d0ce034e65b7e3da1a38cc15dd.tar.gz
Add only_integer_keys option to zend_hash_reindex
This allows to either do a full reindex, or only reindex the integer keys.
Diffstat (limited to 'Zend/zend_hash.h')
-rw-r--r--Zend/zend_hash.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_hash.h b/Zend/zend_hash.h
index b07efc84ec..03f83dfb18 100644
--- a/Zend/zend_hash.h
+++ b/Zend/zend_hash.h
@@ -227,7 +227,7 @@ ZEND_API int zend_hash_minmax(const HashTable *ht, compare_func_t compar, int fl
ZEND_API int zend_hash_num_elements(const HashTable *ht);
ZEND_API int zend_hash_rehash(HashTable *ht);
-ZEND_API void zend_hash_reindex(HashTable *ht);
+ZEND_API void zend_hash_reindex(HashTable *ht, zend_bool only_integer_keys);
ZEND_API void _zend_hash_splice(HashTable *ht, uint nDataSize, copy_ctor_func_t pCopyConstructor, uint offset, uint length, void **list, uint list_count, HashTable *removed ZEND_FILE_LINE_DC);
#define zend_hash_splice(ht, nDataSize, pCopyConstructor, offset, length, list, list_count, removed) \