Skip to content

Instantly share code, notes, and snippets.

@maggo
Created May 18, 2011 11:05
Show Gist options
  • Save maggo/978374 to your computer and use it in GitHub Desktop.
Save maggo/978374 to your computer and use it in GitHub Desktop.
PHP Execution-Time
<?php
$starttime = time();
// Your code
echo 'Execution-Time: '.date('i:s', time()-$starttime);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment