- microtime: documentation ( source)
- round: documentation ( source)
- explode: documentation ( source)
- md5: documentation ( source)
<?php
function chrono()
{
$temps = explode(' ', microtime());
return $temps[0]+$temps[1];
}
$debut = chrono();
echo md5('toto');
echo round(chrono()-$debut,10);