Re: microtime on Win32
| From: | Rasmus Lerdorf | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | Re: microtime on Win32 | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-11112@lists.php.net to get a copy of this message | ||
> gettimeofday() on Win32 seems to return values larger than
> 1e6 in tv_usec which causes the output of microtime to look
> "strange."
>
> If noone objects, I'll commit the attached patch which
> should cause the format of the return value to be equal on
> all platforms.
Looks good to me. It might break some scripts where people have hacked
around this "feature" but we should take that hit and get it right.
-Rasmus