<?php
function getmicrotime(){
    list($usec, $sec) = explode(" ",microtime());
    $time=$sec+$usec;
    return $time;
    }

$start=getmicrotime();
echo "wasting time...<br>";
$i=0;
do{
$i++;
}while($i<=1000000);
$stop=getmicrotime();
$difference=($stop-$start)/3600;
echo $start."<br>".$stop."<br>".$difference." Hours";
?>

Does this help...

- Lord Loh



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to