note 73207 added to function.mt-rand

From: Date: Tue, 13 Feb 2007 13:37:30 +0000
Subject: note 73207 added to function.mt-rand
Groups: php.notes 
Request: Send a blank email to php-notes+get-123315@lists.php.net to get a copy of this message
I'm just wondering why mt_rand(10,9) and mt_rand(10,8) always gives 10 (rand too it doesn't matter). For example mt_rand(10,7) is OK - its like mt_rand(7,10); ---- Server IP: 195.136.184.34 Probable Submitter: 83.28.32.63 ---- Manual Page -- http://www.php.net/manual/en/function.mt-rand.php Edit -- https://master.php.net/note/edit/73207 Del: integrated -- https://master.php.net/note/delete/73207/integrated Del: useless -- https://master.php.net/note/delete/73207/useless Del: bad code -- https://master.php.net/note/delete/73207/bad+code Del: spam -- https://master.php.net/note/delete/73207/spam Del: non-english -- https://master.php.net/note/delete/73207/non-english Del: in docs -- https://master.php.net/note/delete/73207/in+docs Del: other reasons-- https://master.php.net/note/delete/73207 Reject -- https://master.php.net/note/reject/73207 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#123315) next »