[thelist] Calculating Times in PHP

Poojie poojie at dccnet.com
Mon Jun 11 19:47:24 CDT 2001


quote (from Joe):
------------------------------------------------
No idea - have you tried the code from here verbatim?
http://www.php.net/manual/en/function.microtime.php -- it looks
similar
but not the same to yours. Does it also generate negative values?
------------------------------------------------

The function I am using is exactly the same as getmicrotime() -- I
just use a different name. I just did a test with the exact code in
that example and it does not produce negative values. That must
mean something else is going on in the function I am timing.

Is it possible that caching is the culprit?


Daryl





More information about the thelist mailing list