On Fri, 3 Aug 2001, Rasmus Lerdorf wrote:
>> >
>> > This patch will replace PHP functions srand() / rand() / getrandmax()
>> > with the mt_*() ones. The mt_*() are changed to aliases.
>> >
>> > If nobody objects, I will commit this tomorrow.
>>
>> I object. srand/rand are deterministic and usually portable
>> algorithms (i.e. with the same seed, the return results of
>> rand are the same) which certain programs rely on. There
>> might be some scripts out there which use this feature,
>> either for themselves or in order to communicate/synchronize
>> with programs written in C.
>
>I have code which relies on this in the regression test harness for it.
Ah. Let's forget about it then. I wasn't aware of this.
Could you show me this example??
--Jani
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]