Copy code The code is as follows:
/**
* Program execution time
*
* @return int unit ms
*/
function execute_time() {
$stime = explode ( ' ', SYS_START_TIME );
$etime = explode ( ' ', microtime () );
return number_format ( ($etime [1] + $etime [0] - $stime [1] - $stime [0]), 6 );
}
http://www.bkjia.com/PHPjc/313685.htmlwww.bkjia.comtruehttp: //www.bkjia.com/PHPjc/313685.htmlTechArticleCopy the code The code is as follows: /*** Program execution time * * @return int unit ms*/ function execute_time() { $stime = explode ( ' ', SYS_START_TIME ); $etime = explode ( ' ', microtim...