mirror of
https://github.com/php/php-src.git
synced 2024-09-21 09:57:23 +00:00
The hashvalue/index of a bucket is a zend_ulong
This commit is contained in:
parent
5c693c770a
commit
bdf5a4e478
@ -1556,8 +1556,8 @@ static zend_always_inline void *zend_hash_get_current_data_ptr_ex(HashTable *ht,
|
||||
/* Check if an array is a list */
|
||||
static zend_always_inline bool zend_array_is_list(zend_array *array)
|
||||
{
|
||||
zend_long expected_idx = 0;
|
||||
zend_long num_idx;
|
||||
zend_ulong expected_idx = 0;
|
||||
zend_ulong num_idx;
|
||||
zend_string* str_idx;
|
||||
/* Empty arrays are lists */
|
||||
if (zend_hash_num_elements(array) == 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user