The Random\Engine\Mt19937 class
(PHP 8 >= 8.2.0)
Introduction
Implements the » Mt19937 (“Mersenne Twister”) algorithm.
Class synopsis
namespace Random\Engine;
/* Methods */
}
Table of Contents
- Random\Engine\Mt19937::__construct — Constructs a new Mt19937 engine
- Random\Engine\Mt19937::__debugInfo — Returns the internal state of the engine
- Random\Engine\Mt19937::generate — Generate 32 bits of randomness
- Random\Engine\Mt19937::__serialize — Serializes the Mt19937 object
- Random\Engine\Mt19937::__unserialize — Deserializes the data parameter into a Mt19937 object
来源:PHP Documentation Group · 作者与贡献记录 · CC BY 3.0。离线整理了版式、链接和媒体显示。
