Hi! > <https://bugs.php.net/bug.php?id=69396>) - to sum up: if you provide > $max parameter that is larger than OS-provided getmaxrand(), the > result will be artificially stretched, which in result leads to some > values not appearing at all. That’s troublesome if for instance some > people use that function to choose random server for a service, and > the stretched result wouldn’t return even values at all.
How many servers you've got? Also, why not use mt_rand()? It has max of 2^^31, if you have more servers than that you probably have very uncommon use case :) -- Stas Malyshev smalys...@gmail.com -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php