note 54210 deleted from function.rand by felipe

[email protected]
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)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.