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 add a note

User Contributed Notes

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