Skip to content

Commit b76e223

Browse files
authored
Fix: Use mt_srand() instead of srand() (#887)
1 parent 59c070f commit b76e223

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/gen-challenge.phpt

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ gen_challenge() generates a spam challenge
55

66
require_once __DIR__ . '/../manual/spam_challenge.php';
77

8-
srand(9001);
8+
mt_srand(9001);
99

1010
$challenges = array_map(static function (): array {
1111
[$function, $argumentOne, $argumentTwo, $question] = gen_challenge();

0 commit comments

Comments
 (0)