Re: microtime questions
| From: | tedd | Date: | Sat, 08 Apr 2006 16:53:38 +0000 |
| Subject: | Re: microtime questions | ||
| References: | 1 2 3 4 5 6 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-233562@lists.php.net to get a copy of this message | ||
At 1:48 PM -0400 4/7/06, Joe Wollard wrote:
I just realized that I could check your version, and it appears that we've found the problem. You're running PHP 4.3.10, so I'd suggest using the non PHP5 work around on <http://php.net>php.net's site. Cheers! - Joe-Joe: Thanks very much for your most excellent explanation -- it all makes sense now. I was expecting mcrotime(<true or not>) to return an every increasing value. Interesting how it works. In any event, I was able to get much better timing function results by going with: $floattime = array_sum(explode(chr(32), microtime())); The demo can be seen at: http://www.xn--ovg.com/a12.php Thanks again for your most professional help. tedd -- -------------------------------------------------------------------------------- http://sperling.com