PHP - script execution time

    
        $execStart = microtime(true);
        //Your code here
        echo 'Execution time: ' . (microtime(true) - $execStart);