« Random\Engine\PcgOneseq128XslRr64::__unserialize
Random\Engine\Xoshiro256StarStar::__construct »
PHP Manual
Random
Random\Engine\Xoshiro256StarStar 类
Random\Engine\Xoshiro256StarStar 类
(PHP 8 >= 8.2.0)
简介
实现
» xoshiro256**
算法。
类摘要
final
class
Random\Engine\Xoshiro256StarStar
implements
Random\Engine
{
/* 方法 */
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
}
目录
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