« Random\Engine\PcgOneseq128XslRr64::__unserialize
Random\Engine\Xoshiro256StarStar::__construct »
PHP Manual
Random
La classe Random\Engine\Xoshiro256StarStar
La classe Random\Engine\Xoshiro256StarStar
(PHP 8 >= 8.2.0)
Introduction
Implémente l'algorithme
» xoshiro256**
.
Synopsis de la classe
final
class
Random\Engine\Xoshiro256StarStar
implements
Random\Engine
{
/* Méthodes */
public
__construct
(
string
|
int
|
null
$seed
=
null
)
public
__debugInfo
():
array
public
generate
():
string
public
jump
():
void
public
jumpLong
():
void
public
__serialize
():
array
public
__unserialize
(
array
$data
):
void
}
Sommaire
Random\Engine\Xoshiro256StarStar::__construct
— Constructs a new xoshiro256** engine
Random\Engine\Xoshiro256StarStar::__debugInfo
— Returns the internal state of the engine
Random\Engine\Xoshiro256StarStar::generate
— Generate 64 bits of randomness
Random\Engine\Xoshiro256StarStar::jump
— Efficiently move the engine ahead by 2^128 steps
Random\Engine\Xoshiro256StarStar::jumpLong
— Efficiently move the engine ahead by 2^192 steps
Random\Engine\Xoshiro256StarStar::__serialize
— Serializes the Xoshiro256StarStar object
Random\Engine\Xoshiro256StarStar::__unserialize
— Deserializes the data parameter into a Xoshiro256StarStar object