diff --git a/class/timer.php b/class/timer.php index 893df60..ef5add3 100644 --- a/class/timer.php +++ b/class/timer.php @@ -84,4 +84,4 @@ class timer return $this->udate($format, ($this->endTimer-$this->startTimer)/$avg_count); } } -?> + diff --git a/timer-example.php b/timer-example.php index b4221e5..8fd7cd3 100644 --- a/timer-example.php +++ b/timer-example.php @@ -1,6 +1,6 @@ format_time() . '
'; echo $timer->avg_time(5) . '
'; echo $timer->format_avg_time(5); - // =================================================== +// =================================================== + + $timer = null; \ No newline at end of file