3v4l.org

run code in 300+ PHP versions simultaneously
<?php $time_start = microtime(true); $time_end = microtime(true); $time = $time_end - $time_start; $array = explode('.', $time); $msec = str_pad(substr($array[1], 0, 3) , 3, "0"); echo $time; echo ':'; echo $msec;

preferences:
33.68 ms | 402 KiB | 5 Q