note 86977 added to function.rand
| From: | A2DDev at osu1 dot php dot net | Date: | Thu, 13 Nov 2008 08:05:53 +0000 |
| Subject: | note 86977 added to function.rand | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-146468@lists.php.net to get a copy of this message | ||
not to step on any toes but the below function, while useful is wrong i think.
shortschoolbus' function should have $num instead of $new_string in the two areas at the
bottom.
If i'm mistaken please say so.
----
Server IP: 208.69.120.35
Probable Submitter: 71.11.199.231
----
Manual Page -- http://www.php.net/manual/en/function.rand.php
Edit -- https://master.php.net/note/edit/86977
Del: integrated -- https://master.php.net/note/delete/86977/integrated
Del: useless -- https://master.php.net/note/delete/86977/useless
Del: bad code -- https://master.php.net/note/delete/86977/bad+code
Del: spam -- https://master.php.net/note/delete/86977/spam
Del: non-english -- https://master.php.net/note/delete/86977/non-english
Del: in docs -- https://master.php.net/note/delete/86977/in+docs
Del: other reasons-- https://master.php.net/note/delete/86977
Reject -- https://master.php.net/note/reject/86977
Search -- https://master.php.net/manage/user-notes.php