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

Deprecate MT_RAND_PHP #11560

Merged
merged 4 commits into from
Jul 7, 2023
Merged

Deprecate MT_RAND_PHP #11560

merged 4 commits into from
Jul 7, 2023

Conversation

TimWolla
Copy link
Member

@TimWolla TimWolla added the RFC label Jun 29, 2023
@TimWolla TimWolla marked this pull request as ready for review July 6, 2023 13:40
@TimWolla TimWolla requested a review from zeriyoshi as a code owner July 6, 2023 13:40
@TimWolla TimWolla requested review from kocsismate and Girgias July 6, 2023 13:40
Copy link
Member

@Girgias Girgias left a comment

Choose a reason for hiding this comment

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

Seems like at one point it might make sense to deprecate the mode parameter all together.

@TimWolla
Copy link
Member Author

TimWolla commented Jul 6, 2023

Seems like at one point it might make sense to deprecate the mode parameter all together.

Yes, it should probably be deprecated once there is only one legal value left (i.e. as part of the removal of MT_RAND_PHP). At that point Mt19937 with MT_RAND_PHP will also fail to unserialize.

Copy link
Contributor

@zeriyoshi zeriyoshi left a comment

Choose a reason for hiding this comment

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

LGTM, Thank you!

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.

4 participants