Bug#584509: php5-suhosin: Seeding doesn't produce identical sequences

2010-08-13 Thread Jan Wagner
Hi Massimo, thanks for your bugreport. On Friday 04 June 2010 09:17:16 Massimo Modica wrote: ?php mt_srand(2010); for($i=0;$i10;$i++) echo mt_rand(0,10).-; ? should output identical sequences on each run. But it gives different sequences in this setup: - lenny amd64 - php5-suhosin -

Bug#584509: php5-suhosin: Seeding doesn't produce identical sequences

2010-06-04 Thread Massimo Modica
Package: php5-suhosin Version: 0.9.27-1 Severity: important Hello, the following script: ?php mt_srand(2010); for($i=0;$i10;$i++) echo mt_rand(0,10).-; ? should output identical sequences on each run. But it gives different sequences in this setup: - lenny amd64 - php5-suhosin -