time_start = 0; $this->time_end = 0; } function timer() {
$this->__construct { list = explode; $this->time_start = $sec;
} function stop = explode; $this->time_end = $sec; } function show {
$total = $this->time_end – $this->time_start; if { echo $total,”
sec”; return true; } return $total.” sec”; } } ?>

复制代码 代码如下:

发表评论

电子邮件地址不会被公开。 必填项已用*标注