note 96922 added to function.mt-srand

From: Date: Tue, 23 Mar 2010 12:44:09 +0000
Subject: note 96922 added to function.mt-srand
Groups: php.notes 
Request: Send a blank email to php-notes+get-167308@lists.php.net to get a copy of this message
Sorry for the error in the previous... Due to the glitch with the wordwrap I got annoyed and lost focus on the copy and paste move. The last part of the actual function should read. <?php // select what we need to return if ((($retMax == 0)&&($retMax = mt_getrandmax))|| ($retMin==$retMax)){ return mt_rand(); }else{ return mt_rand($retMin,$retMax); } ?> And Nothing else of course... ---- Server IP: 80.67.10.226 Probable Submitter: 212.181.164.190 ---- Manual Page -- http://www.php.net/manual/en/function.mt-srand.php Edit -- https://master.php.net/note/edit/96922 Del: integrated -- https://master.php.net/note/delete/96922/integrated Del: useless -- https://master.php.net/note/delete/96922/useless Del: bad code -- https://master.php.net/note/delete/96922/bad+code Del: spam -- https://master.php.net/note/delete/96922/spam Del: non-english -- https://master.php.net/note/delete/96922/non-english Del: in docs -- https://master.php.net/note/delete/96922/in+docs Del: other reasons-- https://master.php.net/note/delete/96922 Reject -- https://master.php.net/note/reject/96922 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#167308) next »