3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $time = microtime(TRUE); usleep(500); echo microtime(TRUE) - $time;
based on IkKPc
Output for 7.2.6
0.00060701370239258
Output for 7.2.0
0.0005800724029541
Output for 7.1.10
0.00056004524230957
Output for 7.1.7
0.00055813789367676
Output for 7.1.6
0.00057005882263184
Output for 5.6.5, 7.1.5
0.00059795379638672
Output for 5.6.30, 7.1.4
0.00060892105102539
Output for 5.6.14, 7.1.3
0.00059294700622559
Output for 5.6.7, 5.6.20, 7.0.3, 7.1.2
0.00058293342590332
Output for 5.6.8, 5.6.16, 7.1.1
0.00058984756469727
Output for 7.1.0
0.0005950927734375
Output for 7.0.20
0.00057721138000488
Output for 7.0.19
0.00061488151550293
Output for 7.0.13, 7.0.18
0.00058484077453613
Output for 5.6.27, 7.0.17
0.00058889389038086
Output for 5.6.11, 5.6.18, 5.6.29, 7.0.11, 7.0.16
0.00058197975158691
Output for 7.0.7, 7.0.15
0.00058698654174805
Output for 5.6.4, 7.0.14
0.00058317184448242
Output for 7.0.12
0.00057697296142578
Output for 7.0.10
0.000579833984375
Output for 5.6.10, 5.6.17, 5.6.25, 7.0.2, 7.0.9
0.00058794021606445
Output for 7.0.8
0.00059103965759277
Output for 5.6.23, 7.0.6
0.00059008598327637
Output for 7.0.5
0.00058507919311523
Output for 5.6.6, 5.6.12, 7.0.4
0.00058603286743164
Output for 7.0.1
0.00061297416687012
Output for 7.0.0
0.00082802772521973
Output for hhvm-3.15.4
0.00060200691223145
Output for 5.6.28
0.00060296058654785
Output for 5.6.26
0.0006108283996582
Output for 5.6.24
0.00057601928710938
Output for 5.6.22
0.00058913230895996
Output for 5.6.21
0.00059890747070312
Output for 5.6.19
0.00058579444885254
Output for 5.6.15
0.00057506561279297
Output for 5.6.13
0.00058102607727051
Output for 5.6.9
0.00059986114501953
Output for 5.6.3
0.0006098747253418
Output for 5.6.2
0.00059914588928223
Output for 5.6.1
0.00055408477783203
Output for 5.6.0
0.0005791187286377