note 46260 added to function.microtime
| From: | bvnet at yahoo dot com | Date: | Tue, 05 Oct 2004 03:43:46 +0000 |
| Subject: | note 46260 added to function.microtime | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-78001@lists.php.net to get a copy of this message | ||
<?php
$start_time=microtime(true);
?>
...........
...........
<?php
$process_time=microtime(true)-$start_time;
echo $process_time;
?>
why is the output sometime -ve no.?
----
Manual Page -- http://www.php.net/manual/en/function.microtime.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+46260
Delete -- http://master.php.net/manage/user-notes.php?action=delete+46260&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+46260&report=yes
Search -- http://master.php.net/manage/user-notes.php