Possible Duplicate:
Why is this microtime showing up weird in PHP
I use this code to check performance of the script.
$start_time = microtime(1);
// execution some code
$cpu_time = microtime(1) - $start_time;
the output of echo $cpu_time is something like 3.0994415283203E-6
how to display this to real value like 0.000000003099 on the screen ? Is it 0 seconds and very quick execution, right? 🙂
Right 🙂
Try using number_format() function: