note 40907 deleted from function.microtime by nlopess
| From: | nlopess@php.net | Date: | Thu, 18 Mar 2004 17:12:55 +0000 |
| Subject: | note 40907 deleted from function.microtime by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-67031@lists.php.net to get a copy of this message | ||
Note Submitter: phpNetPost at djwice dot com
----
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.