By the way, rand() will only return 0 if I call it with it's arguments.
Without arguments it will return a random value.
Grtz Erwin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Running the code with such a small number of trials will likely cause skewed
results one way or the other.
I ran this code and consistently got around the 50-50 split you'd expect:
J
Andy wrote:
> Hi there,
>
> I am wondering if it is possible that this function tends to be more often
>
2 matches
Mail list logo