Logo

Programming-Idioms

This language bar is your friend. Select your favorite languages!
  • Php
$start = microtime(TRUE);
f();
$end = microtime(TRUE);
echo $end - $start, PHP_EOL;

microtime returns the time in seconds with the microseconds part
(time (f))

New implementation...
< >
programming-idioms.org