Skip to content

Conversation

nielsdos
Copy link
Member

No description provided.

@nielsdos nielsdos requested a review from Girgias as a code owner October 29, 2023 12:59
@nielsdos nielsdos changed the title Remove dead stoers from ext/spl Remove dead stores from ext/spl Oct 29, 2023
Comment on lines +743 to 745
ZEND_HASH_FOREACH_NUM_KEY_VAL(Z_ARRVAL_P(data), num_index, element) {
ZVAL_COPY_DEREF(&array.elements[num_index], element);
} ZEND_HASH_FOREACH_END();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The double foreach seems possibly unnecessary, but this is already an improvement

@Girgias Girgias merged commit 4cfc8f6 into php:master Oct 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants