3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $start = microtime(); for($i=0; $i<10000; $i++){ } $end = microtime(); echo $end-$start;
Output for 7.2.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 9.3E-5
Output for 7.1.7
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 8.2E-5
Output for 7.1.6
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 9.7E-5
Output for 7.1.5
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 9.6E-5
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.20
0.000251
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 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.6.12
0.00023499999999999
Output for 5.6.11
0.000278
Output for 5.6.9 - 5.6.10
0.00034600000000001
Output for 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.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.4.45
0.00030199999999991
Output for 5.4.44
0.00032599999999994
Output for 5.4.6, 5.4.43
0.000308
Output for 5.4.42
0.00042799999999998
Output for 5.4.35, 5.4.41
0.000338
Output for 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.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.24 - 5.4.25
0.000294
Output for 5.4.3, 5.4.23
0.000328
Output for 5.4.22
0.000307
Output for 5.4.21
0.000298
Output for 5.4.20
0.000305
Output for 5.4.19
0.00046
Output for 5.4.18
0.00029
Output for 5.4.1, 5.4.17
0.000291
Output for 5.3.8, 5.4.16
0.00044
Output for 5.4.15
0.000314
Output for 5.4.14
0.000323
Output for 5.4.13
0.000297
Output for 5.4.12
0.000431
Output for 5.4.2, 5.4.11
0.000296
Output for 5.4.10
0.000292
Output for 5.4.4, 5.4.9
0.000295
Output for 5.4.8
0.000363
Output for 5.4.7
0.000402
Output for 5.4.5
0.000306
Output for 5.4.0
0.000434
Output for 5.3.29
0.000335
Output for 5.3.9, 5.3.28
0.000519
Output for 5.3.25, 5.3.27
0.000388
Output for 5.3.26
0.000389
Output for 5.3.24
0.000405
Output for 5.3.23
0.000398
Output for 5.3.22
0.000408
Output for 5.3.18, 5.3.21
0.000391
Output for 5.3.20
0.000466
Output for 5.3.19
0.000392
Output for 5.3.17
0.000533
Output for 5.3.16
0.000396
Output for 5.3.7, 5.3.15
0.000568
Output for 5.3.14
0.000622
Output for 5.3.13
0.000437
Output for 5.3.12
0.000436
Output for 5.3.11
0.000426
Output for 5.3.10
0.000603
Output for 5.3.6
0.000432
Output for 5.3.5
0.000687
Output for 5.3.4
0.000417
Output for 5.3.3
0.00056
Output for 5.3.2
0.000406
Output for 5.3.1
0.000547
Output for 5.3.0
0.000586
Output for 5.2.17
0.00086
Output for 5.2.16
0.000525
Output for 5.2.15
0.000929
Output for 5.2.14
0.000534
Output for 5.2.13
0.000531
Output for 5.2.12
0.000584
Output for 5.2.11
0.000824
Output for 5.2.10
0.000523
Output for 5.2.9
0.000836
Output for 5.2.8
0.000522
Output for 5.2.7
0.00052
Output for 5.2.6
0.000555
Output for 5.2.5
0.000528
Output for 5.2.4
0.000561
Output for 5.2.3
0.000567
Output for 5.2.2
0.000938
Output for 5.2.1
0.000496
Output for 5.2.0
0.000503
Output for 5.1.6
0.000769
Output for 5.1.5
0.00057
Output for 5.1.4
0.000646
Output for 5.1.3
0.000518
Output for 5.1.2
0.000585
Output for 5.1.1
0.000602
Output for 5.1.0
0.000554
Output for 5.0.5
0.001402
Output for 5.0.4
0.001398
Output for 5.0.3
0.001521
Output for 5.0.2
0.001243
Output for 5.0.1
0.001816
Output for 4.3.9, 4.4.7, 5.0.0
0.001234
Output for 4.4.9
0.00129
Output for 4.4.8
0.001177
Output for 4.4.6
0.001249
Output for 4.4.5
0.001264
Output for 4.4.4
0.001169
Output for 4.4.3
0.002196
Output for 4.4.2
0.001164
Output for 4.4.1
0.001151
Output for 4.4.0
0.001259
Output for 4.3.11
0.002242
Output for 4.3.10
0.001166
Output for 4.3.8
0.002062
Output for 4.3.7
0.001168
Output for 4.3.6
0.001217
Output for 4.3.5
0.00122
Output for 4.3.4
0.002001
Output for 4.3.3
0.001142
Output for 4.3.2
0.002016
Output for 4.3.1
0.001223
Output for 4.3.0
0.001196