mirror of
https://github.com/php/web-php.git
synced 2026-03-23 23:02:13 +01:00
Fix: Use mt_srand() instead of srand() (#887)
This commit is contained in:
@@ -5,7 +5,7 @@ gen_challenge() generates a spam challenge
|
||||
|
||||
require_once __DIR__ . '/../manual/spam_challenge.php';
|
||||
|
||||
srand(9001);
|
||||
mt_srand(9001);
|
||||
|
||||
$challenges = array_map(static function (): array {
|
||||
[$function, $argumentOne, $argumentTwo, $question] = gen_challenge();
|
||||
|
||||
Reference in New Issue
Block a user