PHP 8.6.0 Beta 1 is available for testing

Random\Randomizer::__construct

(PHP 8 >= 8.2.0)

Random\Randomizer::__constructConstruye un nuevo Randomizer

Descripción

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

Esta función está actualmente no documentada; solo la lista de sus argumentos está disponible.

Parámetros

engine

El Random\Engine a usar para generar aleatoriedad.

Si engine se omite o es null , se usará un nuevo objeto Random\Engine\Secure .

Ejemplos

Ejemplo #1 Random\Randomizer::__construct() ejemplo

<?php
$r = new \Random\Randomizer();
$r = new \Random\Randomizer(new \Random\Engine\Mt19937());
?>

Found A Problem?

Learn How To Improve This PageSubmit a Pull RequestReport a Bug
+add a note

User Contributed Notes

There are no user contributed notes for this page.

AltStyle によって変換されたページ (->オリジナル) /