3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $now = time(); for($i=0;$i<1000000;$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 jKNeD
Output for 4.3.0, 4.3.2 - 4.3.5, 4.3.7 - 4.3.8, 4.3.10 - 5.0.3, 5.0.5 - 5.2.16, 5.3.0 - 5.4.12, 5.4.14 - 5.6.4, 5.6.6 - 5.6.10, 5.6.12 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
22:42:30 22:42:30 01:00:00
Output for 4.3.1, 4.3.6, 4.3.9, 5.0.4, 5.2.17, 5.4.13, 5.6.5, 5.6.11, hhvm-3.10.0
22:42:30 22:42:31 01:00:01