php页面打开响应时间

$start_time = array_sum(explode(' ',microtime()));

//your code here
 
$end_time = array_sum(explode(' ',microtime()));
echo $end_time - $start_time;
posted @ 2015-10-16 09:34  陈泽泽  阅读(789)  评论(0编辑  收藏  举报