Return to Snippet

Revision: 15901
at July 20, 2009 22:23 by njhamann


Initial Code
function microtime_float()
{
	if (version_compare(phpversion(), '5.0.0', '>='))
	{
		return microtime(true);
	}
	else
	{
		list($usec, $sec) = explode(' ', microtime());
		return ((float) $usec + (float) $sec);
	}
}

$start = microtime_float();

Initial URL

                                

Initial Description

                                

Initial Title
Return Variable Php

Initial Tags
php

Initial Language
PHP