(PHP 8 >= 8.2.0)
Random\Engine\PcgOneseq128XslRr64::jump — Efficiently move the engine ahead multiple steps
$advance
): void
Moves the algorithm’s state ahead by the number of steps given by advance
, as if
Random\Engine\PcgOneseq128XslRr64::generate() was called that many times.
advance
The number of steps to move ahead; must be 0
or greater.
没有返回值。
advance
is less than 0
,
a ValueError will be thrown.
示例 #1 Random\Engine\PcgOneseq128XslRr64::jump() example
<?php
/* ... */
?>
以上例程的输出类似于:
...