Skip to content

Instantly share code, notes, and snippets.

@whiolf
Created March 31, 2017 12:05
Show Gist options
  • Select an option

  • Save whiolf/66ac226852fa0c840d0ebdfa63c7a443 to your computer and use it in GitHub Desktop.

Select an option

Save whiolf/66ac226852fa0c840d0ebdfa63c7a443 to your computer and use it in GitHub Desktop.
[Script execution time] #php #common #time
$start = microtime(true);
//Some script
$time = microtime(true) - $start;
printf('Script execution time %.4F sec.', $time);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment