Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove dead stores from ext/spl #12550

Merged
merged 1 commit into from Oct 29, 2023
Merged

Remove dead stores from ext/spl #12550

merged 1 commit into from Oct 29, 2023

Conversation

nielsdos
Copy link
Member

No description provided.

@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
7 checks passed
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.

None yet

2 participants