PHP 8.3.21 Released!

Random\Randomizer::__construct

(PHP 8 >= 8.2.0)

Random\Randomizer::__constructConstructs a new Randomizer

Опис

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

Увага

Наразі ця функція не документована. Доступний лише список її параметрів.

Параметри

engine

The Random\Engine to use to generate randomness.

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

Приклади

Приклад #1 Random\Randomizer::__construct() example

<?php

/* ... */

?>

Поданий вище приклад виведе щось схоже на:

...
add a note

User Contributed Notes

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

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant