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

replace rand() & mt_rand() by random_int() #504

Merged
merged 2 commits into from
Nov 28, 2023

Conversation

tenzap
Copy link
Collaborator

@tenzap tenzap commented Sep 24, 2023

These functions will be deprecated in PHP 8.3
https://wiki.php.net/rfc/deprecations_php_8_3

Replace them by random_int() which also has a userland implementation for PHP < 7.0 that we already use in this project (paragonie/random_compat)

These functions will be deprecated in PHP 8.3
https://wiki.php.net/rfc/deprecations_php_8_3

Replace them by random_int() which also has a userland implementation for PHP
< 7.0 that we already use in this project (paragonie/random_compat)
These functions will be deprecated in PHP 8.3
See https://wiki.php.net/rfc/deprecations_php_8_3 which gives an example
of implementation for newer version of php
@tenzap tenzap merged commit 4f71b8c into kalkun-sms:devel Nov 28, 2023
3 checks passed
@tenzap tenzap deleted the feature-200-php83-rand branch November 28, 2023 19:55
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