Skip to content

Commit

Permalink
Zend/zend_hash.h: Mark zend_array* parameter of zend_array_is_list() …
Browse files Browse the repository at this point in the history
…as const
  • Loading branch information
Girgias committed Sep 25, 2024
1 parent 255f59e commit 531b943
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Zend/zend_hash.h
Original file line number Diff line number Diff line change
Expand Up @@ -1572,7 +1572,7 @@ static zend_always_inline void *zend_hash_get_current_data_ptr_ex(HashTable *ht,
} while (0)

/* 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(const zend_array *array)
{
zend_ulong expected_idx = 0;
zend_ulong num_idx;
Expand Down

0 comments on commit 531b943

Please sign in to comment.