Random\Randomizer::__construct

(PHP 8 >= 8.2.0)

Random\Randomizer::__constructConstructs a new Randomizer

Description

public Random\Randomizer::__construct(?Random\Engine $engine = null)

Avertissement

Cette fonction est actuellement non documentée ; seule la liste des arguments est disponible.

Liste de paramètres

engine

The Random\Engine to use to generate randomness.

If engine is omitted or null, a new Random\Engine\Secure object will be used.

Exemples

Exemple #1 Random\Randomizer::__construct() example

<?php

/* ... */

?>

Résultat de l'exemple ci-dessus est similaire à :

...
add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top