The Random\Engine\Mt19937 class

(PHP 8 >= 8.2.0)

Introduction

Implements the » Mt19937 (“Mersenne Twister”) algorithm.

Class synopsis

finalclassRandom\Engine\Mt19937implementsRandom\Engine {
public__construct(?int$seed = null, int$mode = MT_RAND_MT19937)
publicgenerate(): string
public__unserialize(array$data): void
}

Table of Contents

To Top