Last active
August 31, 2015 18:21
-
-
Save NightOwlPrgmr/af8f61c685985d317500 to your computer and use it in GitHub Desktop.
PHP Execution Time
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
# execution time (at script start) | |
$beginTime = microtime(true); | |
# execution time (upon script end) | |
$output["time"] = number_format(microtime(true) - $beginTime, 2) . " seconds"; | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment