Skip to content

Conversation

mmalferov
Copy link
Member

srand(0) uses 0 as seed, random seeding only occurs when seed is null or omitted.

`srand(0)` uses `0` as seed, random seeding only occurs when seed is `null` or omitted.
@mmalferov mmalferov requested a review from TimWolla as a code owner September 9, 2025 22:16
Copy link
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.

Good catch, this was missed in #3095.

@TimWolla TimWolla merged commit 37cf0c5 into php:master Sep 10, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants