note 40907 added to function.microtime
| From: | phpNetPostatdjwicedotcom at rn2 dot php dot net | Date: | Thu, 18 Mar 2004 16:47:18 +0000 |
| Subject: | note 40907 added to function.microtime | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-67027@lists.php.net to get a copy of this message | ||
This code in my WhoIs lookup returns a negative time for some whois servers (.nl) and positive time
for others (.com).
$time_start=microtime();
$whoisresult = lookup($dom);
$time_end=microtime();
$s=$time_end-$time_start;
I think this has to do with non-lineair handling of the code.
You will get the same result if you replace microtime() by time().
So be aware of this.
----
Manual Page -- http://www.php.net/manual/en/function.microtime.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+40907
Delete -- http://master.php.net/manage/user-notes.php?action=delete+40907&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+40907&report=yes
Search -- http://master.php.net/manage/user-notes.php