Skip to content

Add array size maximum to array_diff()#21449

Closed
ndossche wants to merge 1 commit intophp:masterfrom
ndossche:silence-array-diff
Closed

Add array size maximum to array_diff()#21449
ndossche wants to merge 1 commit intophp:masterfrom
ndossche:silence-array-diff

Conversation

@ndossche
Copy link
Member

This silences some reports about the equivalence to array_merge()'s issue. However, this is different as no packed fill is used in this code, so it doesn't have the same bug that array_merge() had. This is still a nice thing to do for consistency.

This silences some reports about the equivalence to array_merge()'s
issue. However, this is different as no packed fill is used in this
code, so it doesn't have the same bug that array_merge() had.
Copy link
Member

@iluuu1994 iluuu1994 left a comment

Choose a reason for hiding this comment

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

LGTM!

@ndossche ndossche closed this in 614b22a Mar 21, 2026
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