mirror of
https://github.com/php/php-src.git
synced 2025-08-16 14:08:47 +02:00
The hashvalue/index of a bucket is a zend_ulong
This commit is contained in:
parent
5c693c770a
commit
bdf5a4e478
1 changed files with 2 additions and 2 deletions
|
@ -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 */
|
/* Check if an array is a list */
|
||||||
static zend_always_inline bool zend_array_is_list(zend_array *array)
|
static zend_always_inline bool zend_array_is_list(zend_array *array)
|
||||||
{
|
{
|
||||||
zend_long expected_idx = 0;
|
zend_ulong expected_idx = 0;
|
||||||
zend_long num_idx;
|
zend_ulong num_idx;
|
||||||
zend_string* str_idx;
|
zend_string* str_idx;
|
||||||
/* Empty arrays are lists */
|
/* Empty arrays are lists */
|
||||||
if (zend_hash_num_elements(array) == 0) {
|
if (zend_hash_num_elements(array) == 0) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue