PHP页面运行时间计时类
摘要:
收集一下,有时有用<?php class runtime{ var $StartTime = 0; var $StopTime = 0; function get_microtime() { list($usec, $sec) = explode(' ', microtime()); return ((float)$usec + (float)$sec); } function start() { $this->StartTime = $this->get_microtime(); ... 阅读全文
posted @ 2012-11-01 17:29 imkun 阅读(2072) 评论(0) 推荐(0) 编辑