Created
September 8, 2017 09:41
-
-
Save juice49/2622ef7e8e841aec34894d9ddf1ada60 to your computer and use it in GitHub Desktop.
PHP benchmark
This file contains hidden or 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 | |
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