<u>复制代码</u> 代码如下:<br>/**<br> * 程序执行时间<br> *<br> * @return int 单位ms<br> */<br> function execute_time() {<br> $stime = explode ( ' ', SYS_START_TIME );<br> $etime = explode ( ' ', microtime () );<br> return number_format ( ($etime [1] + $etime [0] - $stime [1] - $stime [0]), 6 );<br> }<br>