- var_dump: documentation ( source)
- microtime: documentation ( source)
- hash_hmac: documentation ( source)
- hash_algos: documentation ( source)
<?php
echo microtime(true). PHP_EOL;
foreach(hash_algos() as $v){
$start = microtime(true);
echo hash_hmac($v, 'Наглый коричневый лисёнок прыгает вокруг ленивой собаки.', 'secret');
$end[$v] = microtime(true) - $start;
}
var_dump($end);