PHP - Manual: Random\Randomizer
2025-10-24
(PHP 8 >= 8.2.0)
Provides a high-level API to the randomness provided by an Random\Engine.
$min, float $max, Random\IntervalBoundary $boundary = Random\IntervalBoundary::ClosedOpen): floatThe low-level source of randomness for the Random\Randomizer’s methods.
官方地址:https://www.php.net/manual/en/class.random-randomizer.php