Skip to content

Deprecate passing incorrect data types for options to ext/hash functions #15236

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

Merged
merged 1 commit into from
Aug 6, 2024

Conversation

nielsdos
Copy link
Member

@nielsdos nielsdos commented Aug 4, 2024

@nielsdos nielsdos force-pushed the hash-deprecation-sanity branch 2 times, most recently from 9646db1 to 73a9712 Compare August 4, 2024 20:44
@nielsdos
Copy link
Member Author

nielsdos commented Aug 4, 2024

Oh looks like there's a bug actually! The string retrieved from the array may be in shm, so we should copy it instead of converting to string in-place.

@nielsdos
Copy link
Member Author

nielsdos commented Aug 4, 2024

Will be unblocked by #15237

@nielsdos nielsdos added the RFC label Aug 5, 2024
@nielsdos nielsdos force-pushed the hash-deprecation-sanity branch from 73a9712 to 7cb4ce5 Compare August 5, 2024 20:09
@nielsdos nielsdos linked an issue Aug 5, 2024 that may be closed by this pull request
Copy link
Member

@devnexen devnexen left a comment

Choose a reason for hiding this comment

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

makes sense to me

@nielsdos nielsdos merged commit 74eff98 into php:master Aug 6, 2024
10 of 11 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.

xxh3 hash ignores seed if string?
2 participants