3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $microtime1 = explode(" ", microtime()); usleep(2500); $t = explode(" ", microtime()); echo "\nPage generation time: ".($t[1] - $microtime1[1] + $t[0] - $microtime1[0]);
based on HQ3FO
Output for 7.0.12, 7.0.15, 7.2.6
Page generation time: 0.002605
Output for 7.0.1, 7.1.0, 7.2.0
Page generation time: 0.002597
Output for 7.1.10
Page generation time: 0.002568
Output for 5.6.27, 7.1.7
Page generation time: 0.002606
Output for 7.0.5, 7.1.1, 7.1.6
Page generation time: 0.002608
Output for 5.6.21, 7.0.16, 7.1.5
Page generation time: 0.002603
Output for 5.6.24, 7.0.8, 7.1.4
Page generation time: 0.002612
Output for 7.1.3
Page generation time: 0.002627
Output for hhvm-3.15.4, 7.0.20, 7.1.2
Page generation time: 0.00262
Output for 7.0.19
Page generation time: 0.002586
Output for 5.6.17, 7.0.18
Page generation time: 0.002594
Output for 7.0.17
Page generation time: 0.002628
Output for 5.6.9, 5.6.26, 5.6.28, 7.0.0, 7.0.14
Page generation time: 0.0026
Output for 7.0.13
Page generation time: 0.002596
Output for 7.0.11
Page generation time: 0.002615
Output for 5.6.30, 7.0.10
Page generation time: 0.00261
Output for 5.6.7, 5.6.14, 7.0.9
Page generation time: 0.002619
Output for 7.0.7
Page generation time: 0.002623
Output for 7.0.6
Page generation time: 0.002598
Output for 7.0.4
Page generation time: 0.00258
Output for 7.0.3
Page generation time: 0.003587
Output for 7.0.2
Page generation time: 0.002609
Output for 5.6.3, 5.6.29
Page generation time: 0.002602
Output for 5.6.25
Page generation time: 0.002626
Output for 5.6.23
Page generation time: 0.002616
Output for 5.6.22
Page generation time: 0.002614
Output for 5.6.1, 5.6.20
Page generation time: 0.002631
Output for 5.6.19
Page generation time: 0.002639
Output for 5.6.18
Page generation time: 0.00329
Output for 5.6.15 - 5.6.16
Page generation time: 0.002595
Output for 5.6.13
Page generation time: 0.002636
Output for 5.6.12
Page generation time: 0.004135
Output for 5.6.11
Page generation time: 0.002582
Output for 5.6.10
Page generation time: 0.002618
Output for 5.6.8
Page generation time: 0.002613
Output for 5.6.6
Page generation time: 0.004398
Output for 5.6.5
Page generation time: 0.002607
Output for 5.6.0, 5.6.4
Page generation time: 0.002622
Output for 5.6.2
Page generation time: 0.002927