3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = str_repeat('a', 10000); foreach (hash_algos() as $code => $algo) { $m = microtime(TRUE); for ($i = 0; $i < 100; $i++) hash($algo, $a); $time[$algo] = microtime(TRUE) - $m; } arsort($time); print_r($time);

preferences:
39.37 ms | 402 KiB | 5 Q