Changeset 1734 for trunk/wp-includes/functions.php
- Timestamp:
- 10/04/2004 08:03:52 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions.php
r1733 r1734 560 560 // ( or just any time between timer_start() and timer_stop() ) 561 561 562 function timer_start() {563 global $timestart;564 $mtime = microtime();565 $mtime = explode(' ',$mtime);566 $mtime = $mtime[1] + $mtime[0];567 $timestart = $mtime;568 return true;569 }570 571 562 function timer_stop($display = 0, $precision = 3) { //if called like timer_stop(1), will echo $timetotal 572 563 global $timestart, $timeend;
Note: See TracChangeset
for help on using the changeset viewer.