Skip to content

std: refactor array_u{diff|intersect}_assoc implementation - #24464

Draft
Girgias wants to merge 7 commits into
php:masterfrom
Girgias:2026-10-array-cmp-fn-no-global
Draft

Girgias wants to merge 7 commits into
php:masterfrom
Girgias:2026-10-array-cmp-fn-no-global

Conversation

@Girgias

@Girgias Girgias commented Oct 20, 2026

Copy link
Copy Markdown
Member

Commits should be reviewed individually and only merged after #24453 landed.

Seeing #24453 I was wondering if we even needed to use the globals (as IMHO this adds a lot of complexity) and it seems like we don't. I did a few minor refactorings prior to attempting to remove usage of the globals as a lot of the code is effectively identical.

And refactor it so that it no longer relies on BG(user_compare_fci)
@Girgias
Girgias force-pushed the 2026-10-array-cmp-fn-no-global branch from 21993bc to e237ca6 Compare October 20, 2026 17:11
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.

1 participant