Skip to content

Instantly share code, notes, and snippets.

@juice49
Created September 8, 2017 09:41
Show Gist options
  • Save juice49/2622ef7e8e841aec34894d9ddf1ada60 to your computer and use it in GitHub Desktop.
Save juice49/2622ef7e8e841aec34894d9ddf1ada60 to your computer and use it in GitHub Desktop.
PHP benchmark
<?php
function b () {
$start = microtime(true);
return function () use ($start) {
$end = microtime(true);
return $end - $start;
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment