3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $r = 1000; $start = microtime(true); while($r-- > 0) { $obj = new StdClass(); } $finish = microtime(true); echo "time taken: " . ($finish - $start) . "\n";
Output for 7.1.0
time taken: 9.2983245849609E-5
Output for 7.0.14
time taken: 9.7990036010742E-5
Output for 7.0.10
time taken: 7.0095062255859E-5
Output for 7.0.8 - 7.0.9
time taken: 8.702278137207E-5
Output for 7.0.7
time taken: 7.5101852416992E-5
Output for 7.0.6
time taken: 7.6055526733398E-5
Output for 7.0.5
time taken: 8.6784362792969E-5
Output for 5.4.44, 7.0.4
time taken: 9.8943710327148E-5
Output for 7.0.3
time taken: 9.608268737793E-5
Output for 7.0.2
time taken: 9.7036361694336E-5
Output for 7.0.1
time taken: 8.2015991210938E-5
Output for 7.0.0
time taken: 5.8889389038086E-5
Output for 5.5.24, 5.6.28
time taken: 0.00014996528625488
Output for 5.4.2, 5.4.35, 5.6.25
time taken: 0.00011897087097168
Output for 5.5.0, 5.6.24
time taken: 0.00013184547424316
Output for 5.6.23
time taken: 9.4175338745117E-5
Output for 5.6.22
time taken: 0.00011801719665527
Output for 5.6.21
time taken: 0.00017380714416504
Output for 5.6.20
time taken: 0.00011587142944336
Output for 5.4.42, 5.6.5, 5.6.19
time taken: 0.00014090538024902
Output for 5.6.18
time taken: 0.00014305114746094
Output for 5.6.17
time taken: 0.00016498565673828
Output for 5.6.16
time taken: 9.3936920166016E-5
Output for 5.6.15
time taken: 0.00012111663818359
Output for 5.4.7, 5.4.45, 5.6.14
time taken: 0.00015401840209961
Output for 5.6.13
time taken: 0.00011205673217773
Output for 5.4.5, 5.5.22, 5.5.31, 5.6.12
time taken: 0.00014805793762207
Output for 5.4.28, 5.5.32, 5.6.6, 5.6.11
time taken: 0.00013899803161621
Output for 5.6.10
time taken: 0.00012707710266113
Output for 5.4.8, 5.4.16, 5.6.9
time taken: 0.0001521110534668
Output for 5.6.8
time taken: 9.2029571533203E-5
Output for 5.5.3, 5.6.7
time taken: 0.00013399124145508
Output for 5.6.4
time taken: 0.00016212463378906
Output for 5.6.3
time taken: 0.0001828670501709
Output for 5.4.40, 5.6.2
time taken: 0.00018095970153809
Output for 5.6.1
time taken: 0.00014901161193848
Output for 5.6.0
time taken: 0.00013995170593262
Output for 5.5.38
time taken: 0.00015091896057129
Output for 5.5.37
time taken: 0.00013113021850586
Output for 5.5.27, 5.5.36
time taken: 0.00015902519226074
Output for 5.5.35
time taken: 0.00010919570922852
Output for 5.4.6, 5.4.29, 5.5.1, 5.5.34
time taken: 0.00010204315185547
Output for 5.5.33
time taken: 0.00013494491577148
Output for 5.5.30
time taken: 0.00016880035400391
Output for 5.5.29
time taken: 0.00018811225891113
Output for 5.5.28
time taken: 0.00016283988952637
Output for 5.5.14, 5.5.26
time taken: 0.00015592575073242
Output for 5.4.11, 5.5.25
time taken: 0.00011396408081055
Output for 5.5.23
time taken: 0.0001528263092041
Output for 5.5.21
time taken: 0.00030207633972168
Output for 5.5.20
time taken: 0.00015497207641602
Output for 5.5.19
time taken: 0.00012898445129395
Output for 5.5.18
time taken: 0.0001070499420166
Output for 5.5.16
time taken: 0.0001518726348877
Output for 5.4.1, 5.5.15
time taken: 0.00013303756713867
Output for 5.5.13
time taken: 0.00014615058898926
Output for 5.5.12
time taken: 0.00015687942504883
Output for 5.5.11
time taken: 0.00011301040649414
Output for 5.4.18, 5.5.10
time taken: 0.00012302398681641
Output for 5.5.9
time taken: 0.0001530647277832
Output for 5.5.8
time taken: 0.00011992454528809
Output for 5.5.7
time taken: 0.00022006034851074
Output for 5.5.2, 5.5.6
time taken: 0.0001370906829834
Output for 5.5.5
time taken: 0.00014400482177734
Output for 5.5.4
time taken: 0.00017595291137695
Output for 5.4.43
time taken: 0.0001378059387207
Output for 5.4.41
time taken: 0.00018191337585449
Output for 5.4.39
time taken: 0.00014686584472656
Output for 5.4.4, 5.4.38
time taken: 0.00015997886657715
Output for 5.4.37
time taken: 0.00010299682617188
Output for 5.4.36
time taken: 0.00020813941955566
Output for 5.4.27, 5.4.34
time taken: 0.00015807151794434
Output for 5.4.32
time taken: 0.00014710426330566
Output for 5.4.31
time taken: 0.00012803077697754
Output for 5.4.12, 5.4.30
time taken: 0.00016093254089355
Output for 5.4.26
time taken: 0.00015878677368164
Output for 5.4.25
time taken: 0.00025510787963867
Output for 5.4.24
time taken: 9.9897384643555E-5
Output for 5.4.23
time taken: 0.00014781951904297
Output for 5.4.22
time taken: 0.00012993812561035
Output for 5.4.10, 5.4.21
time taken: 0.00017094612121582
Output for 5.4.20
time taken: 0.00013208389282227
Output for 5.4.19
time taken: 0.00025296211242676
Output for 5.4.17
time taken: 9.6797943115234E-5
Output for 5.4.15
time taken: 0.00029897689819336
Output for 5.4.14
time taken: 0.0001678466796875
Output for 5.4.13
time taken: 0.00018692016601562
Output for 5.4.9
time taken: 0.00016617774963379
Output for 5.4.3
time taken: 0.00031399726867676
Output for 5.4.0
time taken: 0.0001680850982666
Output for 5.3.29
time taken: 0.00036907196044922
Output for 5.3.28
time taken: 0.00038695335388184
Output for 5.3.27
time taken: 0.00022983551025391
Output for 5.3.26
time taken: 0.00031208992004395
Output for 5.3.25
time taken: 0.00034689903259277
Output for 5.3.24
time taken: 0.0003819465637207
Output for 5.2.2, 5.2.9, 5.3.23
time taken: 0.00038003921508789
Output for 5.3.22
time taken: 0.00023508071899414
Output for 5.3.21
time taken: 0.00035786628723145
Output for 5.3.20
time taken: 0.00035905838012695
Output for 5.3.19
time taken: 0.00037384033203125
Output for 5.3.18
time taken: 0.00037407875061035
Output for 5.3.17
time taken: 0.00039005279541016
Output for 5.2.5, 5.3.16
time taken: 0.0003509521484375
Output for 5.3.15
time taken: 0.00038313865661621
Output for 5.3.14
time taken: 0.00023603439331055
Output for 5.2.16, 5.3.13
time taken: 0.00037908554077148
Output for 5.3.12
time taken: 0.00039815902709961
Output for 5.3.11
time taken: 0.00035214424133301
Output for 5.3.10
time taken: 0.00038814544677734
Output for 5.3.9
time taken: 0.0002288818359375
Output for 5.3.8
time taken: 0.00031280517578125
Output for 5.3.7
time taken: 0.00036406517028809
Output for 5.3.6
time taken: 0.00032687187194824
Output for 5.3.5
time taken: 0.00023388862609863
Output for 5.3.4
time taken: 0.00039911270141602
Output for 5.3.3
time taken: 0.00041007995605469
Output for 5.3.2
time taken: 0.00034999847412109
Output for 5.3.1
time taken: 0.0003209114074707
Output for 5.3.0
time taken: 0.00034403800964355
Output for 5.2.17
time taken: 0.00043201446533203
Output for 5.2.15
time taken: 0.00045299530029297
Output for 5.2.14
time taken: 0.00039505958557129
Output for 5.2.13
time taken: 0.00030303001403809
Output for 5.2.12
time taken: 0.00028800964355469
Output for 5.2.11
time taken: 0.0005338191986084
Output for 5.2.10
time taken: 0.00026702880859375
Output for 5.2.8
time taken: 0.00035691261291504
Output for 5.2.7
time taken: 0.00046515464782715
Output for 5.2.6
time taken: 0.00043416023254395
Output for 5.2.4
time taken: 0.00046110153198242
Output for 5.2.3
time taken: 0.00045204162597656
Output for 5.2.1
time taken: 0.00044107437133789
Output for 5.2.0
time taken: 0.00037097930908203
Output for 5.1.6
time taken: 0.00040984153747559
Output for 5.1.5
time taken: 0.00033187866210938
Output for 5.1.4
time taken: 0.00034594535827637
Output for 5.1.3
time taken: 0.00043010711669922
Output for 5.1.2
time taken: 0.00041890144348145
Output for 5.1.1
time taken: 0.00035500526428223
Output for 5.1.0
time taken: 0.00037312507629395
Output for 5.0.5
time taken: 0.00059986114501953
Output for 5.0.4
time taken: 0.00045180320739746
Output for 5.0.3
time taken: 0.00049591064453125
Output for 5.0.2
time taken: 0.00050902366638184
Output for 5.0.1
time taken: 0.00052905082702637
Output for 5.0.0
time taken: 0.00032782554626465
Output for 4.4.9
time taken: 0.0005
Output for 4.4.8
time taken: 0.000322
Output for 4.4.7
time taken: 0.00035
Output for 4.4.6
time taken: 0.000616
Output for 4.4.5
time taken: 0.000478
Output for 4.4.4
time taken: 0.000552
Output for 4.4.3
time taken: 0.000392
Output for 4.4.2
time taken: 0.000443
Output for 4.4.1
time taken: 0.00053
Output for 4.4.0
time taken: 0.000326
Output for 4.3.11
time taken: 0.00052
Output for 4.3.10
time taken: 0.00063
Output for 4.3.9
time taken: 0.000566
Output for 4.3.8
time taken: 0.000413
Output for 4.3.7
time taken: 0.000405
Output for 4.3.6
time taken: 0.000596
Output for 4.3.5
time taken: 0.000641
Output for 4.3.4
time taken: 0.00056
Output for 4.3.3
time taken: 0.000341
Output for 4.3.2
time taken: 0.000506
Output for 4.3.1
time taken: 0.00051
Output for 4.3.0
time taken: 0.000606