Check the execution time of a script print "Start: " . microtime(true); // ...[code]... print "End: " . microtime(true);