Skip to content

Commit 531b943

Browse files
committed
Zend/zend_hash.h: Mark zend_array* parameter of zend_array_is_list() as const
1 parent 255f59e commit 531b943

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zend/zend_hash.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1572,7 +1572,7 @@ static zend_always_inline void *zend_hash_get_current_data_ptr_ex(HashTable *ht,
15721572
} while (0)
15731573

15741574
/* Check if an array is a list */
1575-
static zend_always_inline bool zend_array_is_list(zend_array *array)
1575+
static zend_always_inline bool zend_array_is_list(const zend_array *array)
15761576
{
15771577
zend_ulong expected_idx = 0;
15781578
zend_ulong num_idx;

0 commit comments

Comments
 (0)