Code: Select all
<?php
list($usec, $sec) = explode(' ', microtime());
return (float) $sec + ((float) $usec * 100000);
?>1. Is it good enough?
2. I don't want to use it directly from the manual (i guess security reasons) so if i change the 100000 value to something else, let's say 5000, will that increase / decrease it's effectiveness for generating random seed values?