3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $m = microtime(true); sleep(1); echo microtime(true)-$m;
Output for 7.1.0
1.0000710487366
Output for 7.0.14
1.0000581741333
Output for 7.0.6
1.0001230239868
Output for 7.0.5
1.0001001358032
Output for 7.0.4
1.0000660419464
Output for 5.2.2, 5.3.26, 5.4.27, 7.0.3
1.0001020431519
Output for 5.6.21, 7.0.2
1.0001080036163
Output for 7.0.1
1.0001380443573
Output for 7.0.0
1.0001368522644
Output for hhvm-3.12.0
1.0002460479736
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.3.22, 5.6.28
1.0000629425049
Output for 5.5.24, 5.6.20
1.0000870227814
Output for 5.6.19
1.0000820159912
Output for 5.2.6, 5.6.18
1.0001208782196
Output for 5.1.3, 5.2.7, 5.4.20, 5.4.29, 5.6.12, 5.6.17
1.0001039505005
Output for 5.0.5, 5.6.10, 5.6.16
1.000128030777
Output for 5.2.10, 5.3.23, 5.6.15
1.0001089572906
Output for 5.6.14
1.0001151561737
Output for 5.4.0, 5.6.13
1.0000858306885
Output for 5.6.11
1.0001060962677
Output for 5.6.9
1.0000638961792
Output for 5.6.8
1.0001249313354
Output for 5.6.7
1.0000851154327
Output for 5.5.35
1.0001058578491
Output for 5.5.34
1.0001130104065
Output for 5.5.27, 5.5.33
1.0000810623169
Output for 5.5.32
1.0001239776611
Output for 5.5.31
1.0001227855682
Output for 5.4.18 - 5.4.19, 5.5.30
1.0001049041748
Output for 5.3.8, 5.3.17, 5.4.35, 5.4.43, 5.5.29
1.000107049942
Output for 5.5.28
1.0001068115234
Output for 5.5.26
1.0001330375671
Output for 5.5.25
1.000097990036
Output for 5.4.45
1.0001158714294
Output for 5.4.44
1.0002160072327
Output for 5.2.15, 5.4.42
1.0001118183136
Output for 5.1.1, 5.2.14, 5.4.41
1.0001289844513
Output for 5.4.40
1.0001149177551
Output for 5.4.39
1.0003628730774
Output for 5.1.2, 5.4.38
1.0001320838928
Output for 5.4.37
1.000118970871
Output for 5.4.36
1.0001518726349
Output for 5.4.34
1.0001108646393
Output for 5.3.2, 5.3.25, 5.4.9, 5.4.28, 5.4.32
1.0001029968262
Output for 5.4.31
1.0002408027649
Output for 5.4.24, 5.4.30
1.0001010894775
Output for 5.1.0, 5.2.0 - 5.2.1, 5.2.5, 5.2.8, 5.3.6, 5.4.26
1.0000970363617
Output for 5.3.7, 5.4.25
1.0000879764557
Output for 5.1.6, 5.4.23
1.0000920295715
Output for 5.0.3, 5.4.22
1.000109910965
Output for 5.4.21
1.0001292228699
Output for 5.4.17
1.0001468658447
Output for 5.3.15, 5.4.13, 5.4.16
1.0000958442688
Output for 5.2.11, 5.2.16, 5.3.14, 5.4.10, 5.4.14 - 5.4.15
1.0000939369202
Output for 5.0.2, 5.1.5, 5.3.16, 5.4.12
1.0000910758972
Output for 5.4.11
1.0001180171967
Output for 5.4.8
1.0000720024109
Output for 5.4.4, 5.4.7
1.000079870224
Output for 5.4.6
1.00008893013
Output for 5.4.5
1.0000789165497
Output for 5.4.3
1.0000801086426
Output for 5.3.21, 5.4.2
1.0000779628754
Output for 5.4.1
1.0000860691071
Output for 5.3.27, 5.3.29
1.0001339912415
Output for 5.3.28
1.0001490116119
Output for 5.3.11, 5.3.20, 5.3.24
1.0000960826874
Output for 5.3.19
1.0001192092896
Output for 5.3.18
1.0001142024994
Output for 5.3.13
1.000116109848
Output for 5.3.12
1.0001261234283
Output for 5.3.10
1.0000948905945
Output for 5.3.1, 5.3.9
1.0001051425934
Output for 5.3.5
1.0001120567322
Output for 5.3.4
1.0001308917999
Output for 5.3.3
1.0001680850983
Output for 5.2.4, 5.2.12, 5.3.0
1.0000989437103
Output for 5.2.17
1.0000998973846
Output for 5.2.13
1.0000891685486
Output for 5.2.9
1.0001127719879
Output for 5.2.3
1.0000951290131
Output for 5.0.0, 5.1.4
1.0000929832458
Output for 5.0.4
1.0001299381256
Output for 5.0.1
1.0000991821289
Output for 4.4.9
0.00010400000000002
Output for 4.4.8
0.00011599999999998
Output for 4.4.7
0.00014800000000001
Output for 4.4.6
0.00012600000000001
Output for 4.4.5
0.00010499999999997
Output for 4.3.3, 4.4.4
0.00010900000000003
Output for 4.4.3
0.000116
Output for 4.4.2
0.00010399999999999
Output for 4.4.1
0.000114
Output for 4.4.0
0.00011100000000003
Output for 4.3.11
9.4000000000038E-05
Output for 4.3.10
0.00013000000000002
Output for 4.3.9
0.00019800000000003
Output for 4.3.8
0.00011899999999998
Output for 4.3.7
0.00012100000000004
Output for 4.3.6
0.00012699999999999
Output for 4.3.5
0.00015600000000004
Output for 4.3.4
0.00010499999999991
Output for 4.3.2
0.00014200000000009
Output for 4.3.1
0.00012800000000002
Output for 4.3.0
0.00016399999999994