3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $start = microtime(TRUE); $b = 0; for ($i = 0; $i < 1000; $i++) { $b += $i; } echo microtime(TRUE) - $start;
based on ReE7d
Output for 7.1.0
2.6941299438477E-5
Output for 7.0.6 - 7.0.14
2.598762512207E-5
Output for 5.3.18, 7.0.5
4.4107437133789E-5
Output for 7.0.4
2.4080276489258E-5
Output for 7.0.3
2.1934509277344E-5
Output for 7.0.2
1.8835067749023E-5
Output for 7.0.1
2.2172927856445E-5
Output for 7.0.0
2.0027160644531E-5
Output for hhvm-3.12.0
6.5803527832031E-5
Output for 5.2.14, hhvm-3.10.0
8.5115432739258E-5
Output for 5.6.21
5.5074691772461E-5
Output for 5.6.20
5.2928924560547E-5
Output for 5.3.12, 5.3.23, 5.4.38, 5.6.14, 5.6.19
4.6968460083008E-5
Output for 5.4.24, 5.6.18
3.504753112793E-5
Output for 5.4.6, 5.4.18, 5.4.22, 5.4.35, 5.6.13, 5.6.17
3.3855438232422E-5
Output for 5.4.7, 5.4.15 - 5.4.17, 5.4.26, 5.4.40, 5.6.16
3.4093856811523E-5
Output for 5.3.3, 5.5.29, 5.5.33, 5.6.15
5.4121017456055E-5
Output for 5.6.12
4.6014785766602E-5
Output for 5.4.8, 5.5.32, 5.6.11
5.0067901611328E-5
Output for 5.3.2, 5.3.4, 5.4.0, 5.5.26, 5.6.10
4.1961669921875E-5
Output for 5.6.9
0.00010108947753906
Output for 5.4.27, 5.4.29, 5.4.36 - 5.4.37, 5.4.41 - 5.4.42, 5.4.45, 5.5.31, 5.6.8
3.1948089599609E-5
Output for 5.4.39, 5.5.35
5.1021575927734E-5
Output for 5.5.34
5.4836273193359E-5
Output for 5.3.9 - 5.3.11, 5.3.14 - 5.3.15, 5.3.20, 5.5.30
4.0054321289062E-5
Output for 5.5.24, 5.5.28
4.887580871582E-5
Output for 5.3.0, 5.5.27
5.1975250244141E-5
Output for 5.4.13 - 5.4.14, 5.4.19, 5.4.21, 5.4.23, 5.5.25
3.2901763916016E-5
Output for 5.4.44
3.0994415283203E-5
Output for 5.4.43
5.0783157348633E-5
Output for 5.4.9 - 5.4.10, 5.4.34
3.2186508178711E-5
Output for 5.4.4, 5.4.25, 5.4.30 - 5.4.32
3.3140182495117E-5
Output for 5.4.28
3.7193298339844E-5
Output for 5.3.24, 5.4.5, 5.4.20
4.1007995605469E-5
Output for 5.3.19, 5.3.26, 5.4.12
3.9815902709961E-5
Output for 5.4.11
3.6954879760742E-5
Output for 5.4.1, 5.4.3
4.8160552978516E-5
Output for 5.3.16, 5.3.21, 5.3.28, 5.4.2
3.9100646972656E-5
Output for 5.3.29
3.814697265625E-5
Output for 5.3.27
5.6028366088867E-5
Output for 5.3.1, 5.3.25
3.8862228393555E-5
Output for 5.3.22
4.3869018554688E-5
Output for 5.3.17
4.5061111450195E-5
Output for 5.3.13
6.1988830566406E-5
Output for 5.3.8
6.3896179199219E-5
Output for 5.3.7
5.6982040405273E-5
Output for 5.3.5 - 5.3.6
4.9829483032227E-5
Output for 5.2.4, 5.2.7, 5.2.17
8.7976455688477E-5
Output for 5.2.13, 5.2.16
7.8916549682617E-5
Output for 5.2.15
6.0081481933594E-5
Output for 5.2.12
8.6784362792969E-5
Output for 5.2.11
7.2002410888672E-5
Output for 5.2.3, 5.2.10
9.1075897216797E-5
Output for 5.2.9
7.9870223999023E-5
Output for 5.2.8
5.9127807617188E-5
Output for 5.2.6
8.2969665527344E-5
Output for 5.2.5
5.793571472168E-5
Output for 5.2.2
8.702278137207E-5
Output for 5.2.1
7.7962875366211E-05
Output for 5.2.0
8.9883804321289E-05
Output for 5.1.6
9.5129013061523E-05
Output for 5.1.5
9.918212890625E-05
Output for 5.1.4
8.1062316894531E-05
Output for 5.1.3
7.8201293945312E-05
Output for 5.1.2
9.8943710327148E-05
Output for 5.1.1
8.4877014160156E-05
Output for 5.1.0
9.4890594482422E-05
Output for 5.0.5
0.00025296211242676
Output for 5.0.4
0.00024604797363281
Output for 5.0.3
0.00019192695617676
Output for 5.0.2
0.00015711784362793
Output for 5.0.1
0.00012803077697754
Output for 5.0.0
0.00012898445129395
Output for 4.4.9
0.00025900000000001
Output for 4.4.8
0.000199
Output for 4.4.7
0.00015199999999999
Output for 4.4.6
0.00015100000000001
Output for 4.4.5
0.00029400000000002
Output for 4.4.4
0.00023600000000001
Output for 4.4.3
0.00023200000000001
Output for 4.4.2
0.00022900000000003
Output for 4.4.1
0.00024099999999994
Output for 4.4.0
0.00020500000000001
Output for 4.3.1, 4.3.11
0.00026800000000005
Output for 4.3.10
0.000206
Output for 4.3.9
0.00014500000000001
Output for 4.3.8
0.00028800000000001
Output for 4.3.7
0.000249
Output for 4.3.6
0.00018299999999999
Output for 4.3.5
0.00021300000000002
Output for 4.3.4
0.00022
Output for 4.3.3
0.00025999999999993
Output for 4.3.2
0.00026400000000004
Output for 4.3.0
0.00025800000000009