Skip to content

[PHP 8.3] Update mt-srand and srand functions#3095

Merged
saundefined merged 2 commits into
php:masterfrom
saundefined:php83-random
Jan 11, 2024
Merged

[PHP 8.3] Update mt-srand and srand functions#3095
saundefined merged 2 commits into
php:masterfrom
saundefined:php83-random

Conversation

@saundefined
Copy link
Copy Markdown
Member

No description provided.

Copy link
Copy Markdown
Member

@TimWolla TimWolla left a comment

Choose a reason for hiding this comment

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

Thank you. Regarding phrasing it would probably make sense to steal my explanation of the seed parameter from https://www.php.net/manual/en/random-engine-mt19937.construct.php, because mt_srand is equivalent to Mt19937::__construct().

Co-authored-by: Tim Düsterhus <tim@bastelstu.be>
Copy link
Copy Markdown
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.

Wording looks OK to me.

@saundefined saundefined merged commit 9eb92e5 into php:master Jan 11, 2024
@saundefined saundefined deleted the php83-random branch January 11, 2024 05:18
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.

3 participants