- microtime: documentation ( source)
- round: documentation ( source)
- explode: documentation ( source)
- rand: documentation ( source)
- md5: documentation ( source)
<?php
function chrono()
{
$temps = explode(' ', microtime());
return $temps[0]+$temps[1];
}
$debut = chrono();
for($i=0;$i>1000;$i++){
md5('vfdsgdfg'.rand(1999999999,9999999999));
}
echo round(chrono()-$debut,10);