note 7655 added to shuffle

From: Date: Thu, 10 Aug 2000 09:25:46 +0000
Subject: note 7655 added to shuffle
Groups: php.notes 
Request: Send a blank email to php-notes+get-769@lists.php.net to get a copy of this message
Whoops !!!<BR> In f_y_Shuffle() above,<BR> while($>=0)<BR> should be <BR> while($i>0)<BR> since $i is decremented as the first step of the loop. The above would add an index to the array.<BR> <BR> Really sorry about the rather untidy message above, i tried to format the source using just the allowed tags. Went bad ;). http://www.php.net/manual/function.shuffle.php

« previous php.notes (#769) next »