summaryrefslogtreecommitdiff
path: root/php.ini-dist
diff options
context:
space:
mode:
authorJeroen van Wolffelaar <jeroen@php.net>2001-08-25 00:11:03 +0000
committerJeroen van Wolffelaar <jeroen@php.net>2001-08-25 00:11:03 +0000
commit820d28affe93816fef9a602c2756503a2b77918c (patch)
treecf327e1291d36a1518e0616c07ed34c573efe829 /php.ini-dist
parente2d51050ea56e91338d0cab4c872b4de8decba68 (diff)
downloadphp-git-820d28affe93816fef9a602c2756503a2b77918c.tar.gz
Add random number generator-entry to INI-files
Diffstat (limited to 'php.ini-dist')
-rw-r--r--php.ini-dist7
1 files changed, 7 insertions, 0 deletions
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