gmp_random_seed()
function gmp_random_seed(object|string|int $seed): void
Seeds PHP’s GMP random generator.
Parameters:
$seed(object|string|int)
Returns: void
Availability
| Compiled (AOT) | Magician (eval) |
|---|---|
| Available | Available |
No examples yet. Check examples/ and showcases/ for usage patterns.
Internals
For how gmp_random_seed is implemented in the compiler, see the internals page.