Re: RFC: mt_* functions
| From: | Jani Taskinen | Date: | Sat, 04 Aug 2001 22:54:25 +0000 |
| Subject: | Re: RFC: mt_* functions | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-62103@lists.php.net to get a copy of this message | ||
On Sat, 4 Aug 2001, Rasmus Lerdorf wrote:
>based on their seeds. If I, as an application developer, distributes a
>regression test harness which tests my app with a specific seed expecting
>a specific sequence and the server my app runs on has switched rand() to
>use the mt_rand() algorithm my regression test will fail.
So, if you always use mt_rand() you should be okay? Since the algorithm
for rand() might be different from system to system..?
--Jani