CakeFest 2024: The Official CakePHP Conference

The Random\Engine\Mt19937 class

(PHP 8 >= 8.2.0)

Introduction

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