Hacker News new | past | comments | ask | show | jobs | submit login

In PHP 4.2.0 and later, there is no need to seed the random generator with mt_srand(). This is done automatically.

http://www.w3schools.com/php/func_math_mt_rand.asp




Although factually correct I don't see the relevance given that this game is Flash based and written in actionscript. Am I missing something?

Also, why not link directly to the php site? http://php.net/mt_srand




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

Search: