cvs: php4 / php.ini-dist php.ini-recommended
| From: | Jeroen van Wolffelaar | Date: | Sat, 25 Aug 2001 00:11:02 +0000 |
| Subject: | cvs: php4 / php.ini-dist php.ini-recommended | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-7053@lists.php.net to get a copy of this message | ||
jeroen Fri Aug 24 20:11:02 2001 EDT
Modified files:
/php4 php.ini-dist php.ini-recommended
Log:
Add random number generator-entry to INI-files
Index: php4/php.ini-dist
diff -u php4/php.ini-dist:1.94 php4/php.ini-dist:1.95
--- php4/php.ini-dist:1.94 Tue Aug 14 16:23:25 2001
+++ php4/php.ini-dist Fri Aug 24 20:11:01 2001
@@ -117,6 +117,13 @@
; 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
Index: php4/php.ini-recommended
diff -u php4/php.ini-recommended:1.51 php4/php.ini-recommended:1.52
--- php4/php.ini-recommended:1.51 Fri Aug 17 10:04:30 2001
+++ php4/php.ini-recommended Fri Aug 24 20:11:02 2001
@@ -130,6 +130,13 @@
; reference).
allow_call_time_pass_reference = Off
+; 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