必要に応じて小数点以下を切り捨てる
$time_start = microtime(true); //~~~~~~~~~~~~~~~~~ // 計測したい処理 //~~~~~~~~~~~~~~~~~ $time = microtime(true) - $time_start; echo "実行結果{$time} 秒"
必要に応じて小数点以下を切り捨てる
$time_start = microtime(true); //~~~~~~~~~~~~~~~~~ // 計測したい処理 //~~~~~~~~~~~~~~~~~ $time = microtime(true) - $time_start; echo "実行結果{$time} 秒"