- var_dump: documentation ( source)
- microtime: documentation ( source)
- explode: documentation ( source)
- sprintf: documentation ( source)
<?php
$t = microtime();
list($us, $s) = explode(' ', $t);
$us *= 1000000;
$f = sprintf('%d.%d', $s, $us);
var_dump($t, $f);