3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = str_repeat('a', 100000); 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);
Output for 5.6.0 - 5.6.24, 7.0.0 - 7.0.20, 7.1.0 - 7.1.7, 7.2.0

Process exited with code 137.

preferences:
89.26 ms | 402 KiB | 45 Q