在线文档教程
PHP
数学 | Mathematics

stats_rand_phrase_to_seeds

stats_rand_phrase_to_seeds

(PECL stats >= 1.0.0)

stats_rand_phrase_to_seeds — Generate two seeds for the RGN random number generator

Description

array stats_rand_phrase_to_seeds ( string $phrase )

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

Parameters

phrase

The input phrase

Return Values

Returns an array of two integers.

← stats_rand_get_seeds

stats_rand_ranf →

© 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

https://secure.php.net/manual/en/function.stats-rand-phrase-to-seeds.php