Skip to content

Commit bc458e5

Browse files
committed
[ci skip] Remove misleading comment
1 parent 8d44508 commit bc458e5

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

ext/standard/array.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3869,7 +3869,6 @@ static inline Bucket* find_bucket_at_offset(HashTable* ht, zend_long offset)
38693869
ZEND_ASSERT(offset >= 0 && offset <= ht->nNumOfElements);
38703870
if (HT_IS_WITHOUT_HOLES(ht)) {
38713871
/* There's no need to iterate over the array to filter out holes if there are no holes */
3872-
/* This properly handles both packed and unpacked arrays. */
38733872
return ht->arData + offset;
38743873
}
38753874
/* Otherwise, this code has to iterate over the HashTable and skip holes in the array. */
@@ -3896,7 +3895,6 @@ static inline zval* find_packed_val_at_offset(HashTable* ht, zend_long offset)
38963895
ZEND_ASSERT(offset >= 0 && offset <= ht->nNumOfElements);
38973896
if (HT_IS_WITHOUT_HOLES(ht)) {
38983897
/* There's no need to iterate over the array to filter out holes if there are no holes */
3899-
/* This properly handles both packed and unpacked arrays. */
39003898
return ht->arPacked + offset;
39013899
}
39023900
/* Otherwise, this code has to iterate over the HashTable and skip holes in the array. */

0 commit comments

Comments
 (0)