php8.5
Home/ Manual/ reference / random/ The Random\Randomizer class

The Random\Randomizer class

Provides a high-level API to the randomness provided by an Random\Engine.

Intro

Provides a high-level API to the randomness provided by an Random\Engine.

Class synopsis

RandomfinalRandomizerPropertiespublicreadonlyRandom\EngineengineMethods

Properties

engine

The low-level source of randomness for the Random\Randomizer’s methods.

Randomizer

Source: reference/random/random.randomizer.xml · from the official PHP manual (php/doc-en)