$t1 = microtime(true);
// ... 执行代码 ...
$t2 = microtime(true);
echo '耗时'.round($t2-$t1,3).'秒'; 
 posted on 2018-05-22 16:57  肆肆  阅读(100)  评论(0编辑  收藏  举报