note 823 deleted from rand by ronabop

From: Date: Tue, 24 Oct 2000 05:40:36 +0000
Subject: note 823 deleted from rand by ronabop
Groups: php.notes 
Request: Send a blank email to php-notes+get-6922@lists.php.net to get a copy of this message
On win32, at least, the second input to rand() seems to be EXCLUSIVE, not inclusive. rand(0,2) => gives a number from 0 to 1 rand(0,3) => gives a number from 0 to 2

« previous php.notes (#6922) next »