<?php
$starttime = microtime(true);
$endtime = microtime(true);

$thistime = $endtime-$starttime;
echo number_format($thistime,6,'.',''),'秒';