3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $start = microtime(true); sleep(1); $ende = microtime(true); $dauer = $ende - $start; echo "One Second is " . number_format($dauer, 2) . " seconds";
Output for 5.0.0 - 5.2.9, 5.2.11 - 5.2.13, 5.2.15 - 5.3.1, 5.3.3 - 7.1.0
One Second is 1.00 seconds
Output for 5.2.10, 5.2.14, 5.3.2
One Second is 1.01 seconds
Output for 4.3.0 - 4.4.9
One Second is 0.00 seconds