//程序运行时间
$starttime = explode(' ', microtime());
//程序运行时间
$endtime = explode(' ', microtime());
$thistime = $endtime[0] + $endtime[1] - ($starttime[0] + $starttime[1]);
$thistime = round($thistime, 3);
echo "time:" . $thistime . " s。" . time();
//程序运行时间
$starttime = explode(' ', microtime());
//程序运行时间
$endtime = explode(' ', microtime());
$thistime = $endtime[0] + $endtime[1] - ($starttime[0] + $starttime[1]);
$thistime = round($thistime, 3);
echo "time:" . $thistime . " s。" . time();