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 $start - microtime(TRUE);
based on JvIRG
Output for 7.0.6 - 7.1.0
-2.6941299438477E-5
Output for 7.0.5
-2.0027160644531E-5
Output for 7.0.4
-2.3126602172852E-5
Output for 7.0.3
-1.8119812011719E-5
Output for 7.0.2
-2.288818359375E-5
Output for 7.0.1
-3.0040740966797E-5
Output for 7.0.0
-1.5974044799805E-5
Output for 5.6.28
-7.7962875366211E-5
Output for 5.3.14, 5.3.17, 5.4.20, 5.5.30, 5.6.21
-4.5061111450195E-5
Output for 5.6.19 - 5.6.20
-3.2186508178711E-5
Output for 5.6.18
-3.814697265625E-5
Output for 5.3.28, 5.4.38, 5.4.41, 5.6.17
-4.6968460083008E-5
Output for 5.4.10, 5.4.31, 5.6.16
-5.6028366088867E-5
Output for 5.5.31, 5.6.12, 5.6.15
-3.2901763916016E-5
Output for 5.3.4, 5.3.20, 5.4.30, 5.4.45, 5.6.14
-4.6014785766602E-5
Output for 5.5.35 - 5.6.8, 5.6.11, 5.6.13
-3.4093856811523E-5
Output for 5.2.13, 5.6.10
-6.1988830566406E-5
Output for 5.4.37, 5.6.9
-4.9829483032227E-5
Output for 5.5.34
-3.3140182495117E-5
Output for 5.3.29, 5.4.12, 5.4.44, 5.5.26 - 5.5.28, 5.5.33
-5.1975250244141E-5
Output for 5.5.32
-4.9114227294922E-5
Output for 5.3.15, 5.4.39, 5.5.29
-4.887580871582E-5
Output for 5.5.25
-5.4836273193359E-5
Output for 5.4.4, 5.5.24
-5.6982040405273E-5
Output for 5.4.13, 5.4.43
-5.8889389038086E-5
Output for 5.4.32, 5.4.42
-5.0067901611328E-5
Output for 5.4.2, 5.4.40
-4.7922134399414E-5
Output for 5.4.36
-7.4863433837891E-5
Output for 5.4.35
-8.2969665527344E-5
Output for 5.4.34
-9.7990036010742E-5
Output for 5.2.12, 5.4.29
-6.103515625E-5
Output for 5.2.6, 5.3.8, 5.4.8, 5.4.28
-5.793571472168E-5
Output for 5.4.27
-3.7908554077148E-5
Output for 5.4.24, 5.4.26
-5.3167343139648E-5
Output for 5.4.0 - 5.4.1, 5.4.6 - 5.4.7, 5.4.11, 5.4.21 - 5.4.22, 5.4.25
-3.6001205444336E-5
Output for 5.4.23
-4.3153762817383E-5
Output for 5.4.19
-5.5074691772461E-5
Output for 5.3.0, 5.3.11, 5.4.18
-5.2928924560547E-5
Output for 5.4.5, 5.4.17
-3.6954879760742E-5
Output for 5.4.16
-5.4121017456055E-5
Output for 5.4.15
-6.8187713623047E-5
Output for 5.4.14
-8.7976455688477E-5
Output for 5.3.3, 5.4.9
-6.9856643676758E-5
Output for 5.4.3
-3.8862228393555E-5
Output for 5.3.27
-6.5088272094727E-5
Output for 5.2.9, 5.3.21, 5.3.26
-6.6041946411133E-5
Output for 5.3.25
-0.00010895729064941
Output for 5.3.24
-5.9843063354492E-5
Output for 5.3.23
-6.2942504882812E-5
Output for 5.3.22
-6.6995620727539E-5
Output for 5.3.19
-6.413459777832E-5
Output for 5.3.16, 5.3.18
-6.8902969360352E-5
Output for 5.3.13
-6.9141387939453E-5
Output for 5.3.12
-0.00010490417480469
Output for 5.3.9 - 5.3.10
-4.3869018554688E-5
Output for 5.3.1, 5.3.7
-0.00011301040649414
Output for 5.3.6
-4.4822692871094E-5
Output for 5.3.5
-6.0796737670898E-5
Output for 5.3.2
-9.2983245849609E-5
Output for 5.2.5, 5.2.17
-6.0081481933594E-5
Output for 5.2.16
-0.00013494491577148
Output for 5.2.15
-0.00012993812561035
Output for 5.2.14
-0.00012803077697754
Output for 5.2.11
-0.00010204315185547
Output for 5.2.10
-7.9870223999023E-5
Output for 5.2.8
-6.3896179199219E-5
Output for 5.2.7
-8.6784362792969E-5
Output for 5.2.4
-9.5129013061523E-5
Output for 5.2.3
-6.3180923461914E-5
Output for 5.2.2
-6.2227249145508E-5
Output for 5.2.1
-9.3936920166016E-05
Output for 5.2.0
-0.00010299682617188
Output for 5.1.6
-6.2942504882812E-05
Output for 5.1.5
-8.5115432739258E-05
Output for 5.1.4
-7.8916549682617E-05
Output for 5.1.3
-0.00013899803161621
Output for 5.1.2
-9.7990036010742E-05
Output for 5.1.1
-7.4863433837891E-05
Output for 5.1.0
-6.8902969360352E-05
Output for 5.0.5
-0.00024199485778809
Output for 5.0.4
-0.00020313262939453
Output for 5.0.3
-0.00028610229492188
Output for 5.0.2
-0.00023889541625977
Output for 5.0.1
-0.00020217895507812
Output for 5.0.0
-0.00026082992553711
Output for 4.4.9
-0.000222
Output for 4.4.8
-0.000206
Output for 4.4.7
-0.00034100000000001
Output for 4.4.6
-0.000529
Output for 4.4.5
-0.000365
Output for 4.4.4
-0.00024300000000002
Output for 4.4.3
-0.00032300000000002
Output for 4.4.2
-0.00020299999999995
Output for 4.4.1
-0.00031500000000001
Output for 4.4.0
-0.000224
Output for 4.3.11
-0.00020599999999998
Output for 4.3.10
-0.00023599999999996
Output for 4.3.9
-0.00024000000000002
Output for 4.3.8
-0.00023200000000001
Output for 4.3.7
-0.00020799999999999
Output for 4.3.6
-0.00025900000000001
Output for 4.3.5
-0.00023099999999998
Output for 4.3.4
-0.00021700000000002
Output for 4.3.3
-0.00023399999999996
Output for 4.3.2
-0.00021399999999994
Output for 4.3.1
-0.00031400000000004
Output for 4.3.0
-0.00031499999999995