Re: microtime questions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux