From 820d28affe93816fef9a602c2756503a2b77918c Mon Sep 17 00:00:00 2001 From: Jeroen van Wolffelaar Date: Sat, 25 Aug 2001 00:11:03 +0000 Subject: Add random number generator-entry to INI-files --- php.ini-dist | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'php.ini-dist') diff --git a/php.ini-dist b/php.ini-dist index 6eb84a7dd5..f4d0b6b710 100644 --- a/php.ini-dist +++ b/php.ini-dist @@ -117,6 +117,13 @@ implicit_flush = Off ; reference). allow_call_time_pass_reference = On +; Default random number generator. Specify here which random number generator +; you want to use for the PHP-rand() function. Usually MT (Mersenne Twister, +; see http://www.php.net/manual/en/function.mt-rand.php) is the best choice. +; It is thread-safe, fast, and, quite important, mod and divide-free. +; Possible values are 'system', 'mt' and 'lcg' +random_number_generator = mt + ; ; Safe Mode -- cgit v1.2.1