代码如下:
EOT;$etime=microtime(true);//获取程序执行结束的时间$total=$etime-$stime; //计算差值echo "[页面执行时间:{$total} ]秒";?>