php8.5
Home/ Manual/ stats / functions/ stats_rand_phrase_to_seeds

stats_rand_phrase_to_seeds

PHP function Edit on GitHub ✎

(PECL stats >= 1.0.0)

Generate 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.

Source: reference/stats/functions/stats-rand-phrase-to-seeds.xml · from the official PHP manual (php/doc-en)