http://us.php.net/microtime That says its in PHP 4 and PHP 5
On Tue, Apr 8, 2008 at 3:47 PM, Nathan Lane <[EMAIL PROTECTED]> wrote: > Okay sweet. Can anybody tell me which version of microtime() goes back to, > i.e. is it valid in PHP 4? > > You will need to call microtime() at the beginning and end then subtract > > > > $startTime = microtime(true); > > > > doSomething(): > > > > $executionTime = microtime(true) - $startTime; > > > > echo "Page Generated In $executionTime Seconds"; > > > > -- > > > > Sean Thayne, > > Exit12 > > _______________________________________________ > > UPHPU mailing list > [email protected] > http://uphpu.org/mailman/listinfo/uphpu > IRC: #uphpu on irc.freenode.net > _______________________________________________ UPHPU mailing list [email protected] http://uphpu.org/mailman/listinfo/uphpu IRC: #uphpu on irc.freenode.net
