Skip to content

Instantly share code, notes, and snippets.

@germanny
Created February 27, 2014 22:00
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save germanny/9260504 to your computer and use it in GitHub Desktop.
Save germanny/9260504 to your computer and use it in GitHub Desktop.
<?php
$beforeTime = microtime(true);
function helloWorld() {
// Do stuff
}
$afterTime = microtime(true);
echo "Loading helloWorld: ".($afterTime - $beforeTime) . '<br />';
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment