Best way to time a PHP script
<p>What is the best way to see how long it takes for your PHP script to run?</p>

<p>I was thinking something like this:</p>

<pre><code>$start_time = time(); //this at the beginning
$end_time = time(); //this at the end
echo = $end_time-$start_time;
</code></pre>

<p>But how can I make it into something that is readable to me and make sense to me? </p>
