time_start = $this->microtime_float(); } public function microtime_float() { list($usec, $sec) = explode(" ", microtime()); return ((float)$usec + (float)$sec); } public function __destruct(){ $this->time_end = $this->microtime_float(); $time = $this->time_end - $this->time_start; echo "\n
\n"; } } ?>