PHP 8.0.26 Released!

The Random\Engine\Mt19937 class

(PHP 8 >= 8.2.0)


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

Class synopsis

final class Random\Engine\Mt19937 implements Random\Engine {
/* Methods */
public __construct(?int $seed = null, int $mode = MT_RAND_MT19937)
public __debugInfo(): array
public generate(): string
public __serialize(): array
public __unserialize(array $data): void

Table of Contents

add a note

User Contributed Notes

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