Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<stats_rand_gen_tstats_rand_phrase_to_seeds>
^Statistic FunctionsLast updated: Mon, 26 Oct 2026

stats_rand_get_seeds

(PECL stats >= 1.0.0)

stats_rand_get_seeds — Get the seed values of the random number generator

Description

function stats_rand_get_seeds(): array

Returns the current seed values of the random number generator

Parameters

This function has no parameters.

Return Values

Returns an array of two integers.


<stats_rand_gen_tstats_rand_phrase_to_seeds>
^Statistic FunctionsLast updated: Mon, 26 Oct 2026