waktu php berapa lama fungsi berlangsung

<?php
$startTime = microtime(true);

/*stuff is going on*/

echo "Elapsed time is: ". (microtime(true) - $startTime) ." seconds";
Wandering Wolverine