複製程式碼 程式碼如下:
/**
* 程式執行時間
*
* @return int 單位ms
*/
function execute_time(time(time) {* 程式執行時間 * * @return int 單位ms/
function execute_time(time(time) { = explode ( ' ', SYS_START_TIME );
$etime = explode ( ' ', microtime () );
return number_format ( ($etime [1] $etime [0] - $ return number_format ($etime [1] $etime [0] - $ stime stime [0]), 6 );
}
http://www.bkjia.com/PHPjc/313685.htmlwww.bkjia.comtruehttp: //www.bkjia.com/PHPjc/313685.htmlTechArticle複製程式碼如下: /***/ function execute_time() { $stime = explode ( ' ', SYS_START_TIME ); $etime = explode ( ' ', microtim...