Return to Snippet

Revision: 1255
at September 27, 2006 08:50 by gdonald


Updated Code
function makeSeed()
{
  list( $usec, $sec ) = explode( ' ', microtime() );
  return (float) $sec + ( (float) $usec * 100000 );
}

Revision: 1254
at September 27, 2006 08:49 by gdonald


Initial Code
function makeSeed()
{
	list( $usec, $sec ) = explode( ' ', microtime() );
	
    return (float) $sec + ( (float) $usec * 100000 );
}

Initial URL

                                

Initial Description

                                

Initial Title
php make mt_srand seed

Initial Tags

                                

Initial Language
PHP