3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $now = time(); for($i=0;$i<2000000;$i++) echo ""; $end = time(); echo date("H:i:s",$now); echo "\n"; echo date("H:i:s",$end); echo "\n"; echo date("H:i:s",$end-$now);
based on beqC3
Output for 4.3.0 - 5.6.28, 7.0.0 - 7.1.0
22:43:13 22:43:13 01:00:00
Output for hhvm-3.10.0 - 3.12.0
22:43:13 22:43:14 01:00:01