note 54210 deleted from function.rand by felipe
| Newsgroups | php.notes |
|---|---|
| Message-ID | <[email protected]> |
Note Submitter: roger at kleverNOSPAM dot co dot uk ---- umpalump's post was very helpful, thankyou. Since random_0_1() can return 0, I would suggest replacing <? $x = random_0_1(); ?> with <? while (!$x) $x = random_0_1(); ?> to avoid an error when performing log($x)