Posted By

sekihin on 04/27/11


Tagged

php


Versions (?)

処理時間を計測する


 / Published in: PHP
 

URL: http://d.hatena.ne.jp/bysuu/20090313/1236915296

  1. <?php
  2. $start_time = microtime(); // 計測開始
  3.  
  4. $end_time = microtime(); // 計測終了
  5.  
  6. echo ($end_time - $start_time); // 表示
  7. ?>

Report this snippet  

You need to login to post a comment.