mirror of
https://github.com/php/php-src.git
synced 2025-08-15 13:38:49 +02:00
Add zend_hash_get_current_pos_ex() (#14770)
This commit is contained in:
parent
b229f189ee
commit
c3a5b98771
3 changed files with 8 additions and 0 deletions
|
@ -514,6 +514,11 @@ ZEND_API HashPosition ZEND_FASTCALL zend_hash_get_current_pos(const HashTable *h
|
|||
return _zend_hash_get_current_pos(ht);
|
||||
}
|
||||
|
||||
ZEND_API HashPosition ZEND_FASTCALL zend_hash_get_current_pos_ex(const HashTable *ht, HashPosition pos)
|
||||
{
|
||||
return _zend_hash_get_valid_pos(ht, pos);
|
||||
}
|
||||
|
||||
static void zend_hash_remove_iterator_copies(uint32_t idx) {
|
||||
HashTableIterator *iterators = EG(ht_iterators);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue