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

rand() and mt_rand() are not pure #956

Merged
merged 1 commit into from Nov 17, 2020
Merged

rand() and mt_rand() are not pure #956

merged 1 commit into from Nov 17, 2020

Conversation

dktapps
Copy link
Contributor

@dktapps dktapps commented Nov 16, 2020

These functions have effects on the global random state.

Related issue: phpstan/phpstan#4091

@MaXal MaXal merged commit 40f4c81 into JetBrains:master Nov 17, 2020
@dktapps dktapps deleted the patch-1 branch November 17, 2020 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants