stats_rand_phrase_to_seeds

(PECL stats >= 1.0.0)

stats_rand_phrase_to_seedsGenerate two seeds for the RGN random number generator

Description

stats_rand_phrase_to_seeds ( string $phrase ) : array

Generate two seeds for the random number generator from a phrase.

Parameters

phrase

The input phrase

Return Values

Returns an array of two integers.

© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/function.stats-rand-phrase-to-seeds.php