时间戳microtime ();

时间戳microtime ();

$t1 = microtime(true);

$t2 = microtime(true);

echo (($t2-$t1)*1000).'ms';源文:http://kangzj.net/how-to-caculate-php-script-run-time/

 

posted @ 2013-10-14 21:31  浮夸浮华  阅读(71)  评论(0编辑  收藏  举报