3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $start = microtime(); for($i=0; $i<10000; $i++){ } $end = microtime(); echo $end-$start;
Output for 7.1.0
Notice: A non well formed numeric value encountered in /in/BrXXj on line 7 Notice: A non well formed numeric value encountered in /in/BrXXj on line 7 0.000143
Output for 7.0.14
0.000142
Output for 7.0.6
0.00012000000000001
Output for 7.0.5
0.0001239999999999
Output for 7.0.2, 7.0.4
8.2000000000026E-5
Output for 7.0.3
0.00012699999999999
Output for 7.0.1
0.00011699999999998
Output for 7.0.0
0.000126
Output for hhvm-3.12.0
0.00039599999999995
Output for hhvm-3.10.0
0.00037000000000001
Output for 5.6.28
0.000637
Output for 5.6.21
0.00025500000000001
Output for 5.6.20
0.00021900000000008
Output for 5.6.19
0.00022
Output for 5.6.18
0.000234
Output for 5.6.17
0.00022499999999998
Output for 5.6.16
0.00024500000000001
Output for 5.6.15
0.00026199999999998
Output for 5.6.14
0.00035999999999992
Output for 5.6.13
0.00028899999999998
Output for 5.4.17, 5.6.12
0.00023499999999999
Output for 5.6.11
0.000278
Output for 5.6.9 - 5.6.10
0.00034600000000001
Output for 5.2.10, 5.6.8
0.000415
Output for 5.6.7
0.00034500000000004
Output for 5.5.35
0.00031100000000006
Output for 5.5.34
0.00022099999999997
Output for 5.5.26, 5.5.33
0.00034299999999998
Output for 5.3.14, 5.5.32
0.000332
Output for 5.5.31
0.00024400000000001
Output for 5.5.30
0.00034499999999993
Output for 5.5.29
0.00029800000000002
Output for 5.5.28
0.00034499999999998
Output for 5.5.24, 5.5.27
0.00022699999999998
Output for 5.5.25
0.00023200000000001
Output for 5.3.26, 5.4.45
0.00030199999999991
Output for 5.4.44
0.00032599999999994
Output for 5.4.43
0.000308
Output for 5.4.14, 5.4.42
0.00042799999999998
Output for 5.4.35, 5.4.41
0.000338
Output for 5.4.7, 5.4.40
0.000357
Output for 5.4.39
0.00043599999999999
Output for 5.4.38
0.000378
Output for 5.4.37
0.00032900000000002
Output for 5.4.36
0.00030000000000002
Output for 5.4.34
0.00047400000000009
Output for 5.4.32
0.00022599999999998
Output for 5.4.16, 5.4.31
0.00023600000000001
Output for 5.4.30
0.00024100000000005
Output for 5.4.29
0.00021499999999997
Output for 5.4.28
0.00042399999999998
Output for 5.4.27
0.00022200000000006
Output for 5.4.26
0.00038700000000003
Output for 5.4.25
0.000253
Output for 5.4.24
0.00025499999999995
Output for 5.4.23
0.00022500000000003
Output for 5.4.22
0.00028600000000001
Output for 5.4.21
0.00039100000000003
Output for 5.4.20
0.00034800000000001
Output for 5.4.19
0.00040200000000001
Output for 5.4.18
0.00036399999999992
Output for 5.4.15
0.000224
Output for 5.4.13
0.00023099999999998
Output for 5.4.12
0.00023000000000006
Output for 5.4.11
0.00023399999999996
Output for 5.4.10
0.00024199999999996
Output for 5.4.9
0.000229
Output for 5.3.0, 5.4.8
0.000359
Output for 5.4.6
0.00023299999999998
Output for 5.4.5
0.000246
Output for 5.4.4
0.00028
Output for 5.4.3
0.00026300000000001
Output for 5.4.2
0.00023899999999999
Output for 5.4.1
0.00026399999999999
Output for 5.4.0
0.000249
Output for 5.3.29
0.000335
Output for 5.3.3, 5.3.28
0.00030200000000002
Output for 5.3.27
0.000309
Output for 5.3.25
0.000301
Output for 5.3.24
0.00031899999999996
Output for 5.3.21, 5.3.23
0.00033099999999997
Output for 5.3.22
0.00031099999999995
Output for 5.3.20
0.00032999999999994
Output for 5.3.13, 5.3.19
0.00031599999999998
Output for 5.3.18
0.00033300000000003
Output for 5.3.17
0.000315
Output for 5.3.16
0.00032500000000001
Output for 5.3.15
0.00046499999999999
Output for 5.3.12
0.00036799999999998
Output for 5.3.11
0.00031300000000001
Output for 5.3.10
0.00030400000000003
Output for 5.3.9
0.00034999999999996
Output for 5.3.8
0.00032299999999996
Output for 5.3.7
0.000305
Output for 5.3.6
0.00031000000000003
Output for 5.3.5
0.00048799999999993
Output for 5.3.4
0.00029999999999997
Output for 5.3.2
0.00032799999999999
Output for 5.3.1
0.00031900000000007
Output for 5.2.17
0.00070999999999999
Output for 5.2.16
0.00039899999999993
Output for 5.2.15
0.00046299999999999
Output for 5.2.14
0.00061699999999998
Output for 5.2.13
0.000698
Output for 5.2.12
0.000405
Output for 5.2.11
0.000449
Output for 5.2.9
0.00039099999999997
Output for 5.2.8
0.000389
Output for 5.2.7
0.000469
Output for 5.2.6
0.00039699999999998
Output for 5.2.5
0.00039300000000003
Output for 5.2.4
0.00048200000000004
Output for 5.2.3
0.00043700000000002
Output for 5.2.2
0.00044899999999998
Output for 5.2.1
0.00063299999999999
Output for 5.2.0
0.00097800000000003
Output for 5.1.6
0.00057599999999991
Output for 5.1.5
0.00072000000000005
Output for 5.1.4
0.00064299999999995
Output for 5.1.2 - 5.1.3
0.00063000000000002
Output for 5.1.1
0.00040600000000002
Output for 5.1.0
0.00042599999999993
Output for 5.0.5
0.0011910000000001
Output for 5.0.4
0.0010340000000001
Output for 5.0.3
0.001068
Output for 5.0.2
0.000938
Output for 5.0.1
0.000913
Output for 5.0.0
0.000926
Output for 4.4.9
0.000917
Output for 4.4.8
0.00089999999999998
Output for 4.4.6 - 4.4.7
0.00090300000000001
Output for 4.4.5
0.000891
Output for 4.4.4
0.00090499999999999
Output for 4.4.3
0.00104
Output for 4.4.2
0.000911
Output for 4.4.1
0.000888
Output for 4.4.0
0.00091199999999997
Output for 4.3.11
0.000967
Output for 4.3.10
0.00087199999999998
Output for 4.3.9
0.000886
Output for 4.3.8
0.00092899999999996
Output for 4.3.7
0.00090200000000007
Output for 4.3.6
0.00091399999999997
Output for 4.3.5
0.0016050000000001
Output for 4.3.4
0.00088100000000002
Output for 4.3.3
0.00088299999999997
Output for 4.3.2
0.0010429999999999
Output for 4.3.1
0.00092400000000004
Output for 4.3.0
0.001196