Computer functions to generate random numbers are not designed to do what
their name suggests.
Software testing requires repeatability, and this includes random number
generation.
Without knowing how PHP seeds the generator it is difficult to predict
what it will do.
I still think taking the last digit of the current time is your best
solution.
Stephen
I like the idea of using the time but don't like the idea of spending the
rest of the day learning how to parse out the numbers I need from the
time...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php