Constructs a new Randomizer

# Random\Randomizer::__construct

(PHP 8 >= 8.2.0)

Random\Randomizer::__construct — Constructs a new Randomizer

### 说明

public function 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
    $r = new \Random\Randomizer();
    $r = new \Random\Randomizer(new \Random\Engine\Mt19937());
    ?>

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open