Hacker Newsnew | past | comments | ask | show | jobs | submit | heap's commentslogin

Are you sure about that? PHP Manual (http://php.net/manual/en/function.mt-srand.php) does not say anything about that.

The manual does, however, note that since PHP 5.2.1 "Identical seeds no longer produce the same sequence of values they did in previous versions.", which some people in the manual comments section took to mean that identical seeds could produce a different sequences even in the current version, but this does not appear to be so.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: