[PHP-DEV] Bug #10837: The "rand" function doesn't work From: huy91980 <email protected>
Date: 05/12/01

From: huy91980 <email protected>
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

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>