Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
$start = microtime(true);
$limit = 10000;
for ($i = 0; $i < $limit; $i++)
in_array('GET', array('GET', 'HEAD'));
in_array('PUT', array('GET', 'HEAD'));
var_dump(microtime(true) - $start);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.