Bug #10837: The "rand" function doesn't work

From: Date: Sun, 13 May 2001 03:48:43 +0000
Subject: Bug #10837: The "rand" function doesn't work
Groups: php.dev 
Request: Send a blank email to php-dev+get-55055@lists.php.net to get a copy of this message
From: huy91980@pacbell.net Operating system: Windows 2000 server PHP version: 4.0.5 PHP Bug Type: *Function Specific Bug description: The "rand" function doesn't work calling: rand(1, 50)-1 will always get 1 !! try it for your self..this bug is only in 4.05 ..i imediately rolled back to 4.04pl1 and it works perfect again. I didn't compile my module..downloaded the win32 build. -- Edit Bug report at: http://bugs.php.net/?id=10837&edit=1

« previous php.dev (#55055) next »