3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $timeStart = microtime(true); for ($i=0; $i<10000; $i++) { $b = 1234564789 + $i /65487; } $timeStop = microtime(true); $timeRes = $timeStop - $timeStart; echo $timeRes;
Output for 7.2.0
0.00043916702270508
Output for 7.1.7
0.00030207633972168
Output for 7.1.6
0.00034689903259277
Output for 7.1.5
0.00064992904663086
Output for 7.1.0
0.00043392181396484
Output for 7.0.20
0.00035786628723145
Output for 7.0.14
0.00052905082702637
Output for 7.0.6
0.00046801567077637
Output for 7.0.5
0.0004279613494873
Output for 7.0.4
0.00032281875610352
Output for 7.0.3
0.00028514862060547
Output for 7.0.2
0.00028300285339355
Output for 7.0.1
0.0003359317779541
Output for 7.0.0
0.00044679641723633
Output for 5.6.28
0.001215934753418
Output for 5.6.21
0.00088000297546387
Output for 5.6.20
0.00060009956359863
Output for 5.6.19
0.00047016143798828
Output for 5.6.18
0.00049304962158203
Output for 5.6.17
0.00048685073852539
Output for 5.6.16
0.00048422813415527
Output for 5.6.15
0.00052690505981445
Output for 5.6.14
0.0008080005645752
Output for 5.6.13
0.00047421455383301
Output for 5.6.12
0.00062394142150879
Output for 5.6.11
0.00073885917663574
Output for 5.6.10
0.00067782402038574
Output for 5.6.9
0.00064492225646973
Output for 5.6.8
0.00069594383239746
Output for 5.5.35
0.00064396858215332
Output for 5.5.34
0.00079178810119629
Output for 5.5.33
0.00058102607727051
Output for 5.5.32
0.00064802169799805
Output for 5.5.31
0.00069999694824219
Output for 5.5.30
0.0004730224609375
Output for 5.5.29
0.00048494338989258
Output for 5.5.28
0.0005800724029541
Output for 5.5.27
0.0006561279296875
Output for 5.5.26
0.00073790550231934
Output for 5.3.21, 5.5.25
0.00081801414489746
Output for 5.4.44, 5.5.24
0.00053501129150391
Output for 5.4.45
0.00049996376037598
Output for 5.4.43
0.00048208236694336
Output for 5.4.42
0.0005028247833252
Output for 5.4.41
0.00048184394836426
Output for 5.4.40
0.0006251335144043
Output for 5.4.39
0.00038599967956543
Output for 5.4.37 - 5.4.38
0.00062298774719238
Output for 5.4.36
0.00071001052856445
Output for 5.4.35
0.00066518783569336
Output for 5.4.34
0.00069403648376465
Output for 5.4.32
0.00047707557678223
Output for 5.4.31
0.00045204162597656
Output for 5.4.30
0.00046300888061523
Output for 5.4.29
0.00049400329589844
Output for 5.4.28
0.00051999092102051
Output for 5.4.27
0.0004880428314209
Output for 5.4.26
0.00099682807922363
Output for 5.4.25
0.00076580047607422
Output for 5.4.24
0.0011570453643799
Output for 5.4.23
0.00079703330993652
Output for 5.4.22
0.00061607360839844
Output for 5.4.21
0.00090599060058594
Output for 5.4.14, 5.4.20
0.00098705291748047
Output for 5.4.19
0.00065898895263672
Output for 5.4.18
0.00088810920715332
Output for 5.4.17
0.00083494186401367
Output for 5.4.16
0.00072789192199707
Output for 5.3.15, 5.4.15
0.00093603134155273
Output for 5.4.13
0.0010550022125244
Output for 5.4.12
0.00092816352844238
Output for 5.4.11
0.00087094306945801
Output for 5.4.10
0.00089001655578613
Output for 5.4.9
0.0010111331939697
Output for 5.4.8
0.0011279582977295
Output for 5.4.7
0.00095701217651367
Output for 5.4.6
0.0009009838104248
Output for 5.4.5
0.00070405006408691
Output for 5.4.4
0.00072097778320312
Output for 5.4.3
0.00072479248046875
Output for 5.4.2
0.00069689750671387
Output for 5.4.1
0.00098299980163574
Output for 5.4.0
0.00095009803771973
Output for 5.3.29
0.00074887275695801
Output for 5.3.28
0.00087618827819824
Output for 5.3.27
0.0011951923370361
Output for 5.3.26
0.0012729167938232
Output for 5.3.25
0.0015139579772949
Output for 5.3.24
0.0012969970703125
Output for 5.3.23
0.00092601776123047
Output for 5.3.22
0.0013589859008789
Output for 5.3.20
0.0013391971588135
Output for 5.3.19
0.00088405609130859
Output for 5.3.18
0.0016679763793945
Output for 5.3.17
0.00090312957763672
Output for 5.3.16
0.00084614753723145
Output for 5.3.14
0.0016710758209229
Output for 5.3.13
0.001410961151123
Output for 5.3.12
0.0013880729675293
Output for 5.3.11
0.0013248920440674
Output for 5.3.10
0.0013978481292725
Output for 5.3.9
0.0012509822845459
Output for 5.3.8
0.00083017349243164
Output for 5.3.7
0.0013120174407959
Output for 5.3.6
0.0015709400177002
Output for 5.3.5
0.0014209747314453
Output for 5.3.4
0.0013020038604736
Output for 5.3.3
0.0009160041809082
Output for 5.3.2
0.00086092948913574
Output for 5.3.1
0.00098395347595215
Output for 5.3.0
0.00094985961914062
Output for 5.2.17
0.0021710395812988
Output for 5.2.11, 5.2.16
0.0012190341949463
Output for 5.2.15
0.0021681785583496
Output for 5.2.14
0.0013930797576904
Output for 5.2.13
0.0022320747375488
Output for 5.2.12
0.0021228790283203
Output for 5.2.10
0.0024209022521973
Output for 5.2.9
0.002068042755127
Output for 5.2.8
0.0018489360809326
Output for 5.2.7
0.0011420249938965
Output for 5.2.6
0.0021109580993652
Output for 5.2.5
0.0013937950134277
Output for 5.2.4
0.0020279884338379
Output for 5.2.3
0.0014729499816895
Output for 5.2.2
0.0014100074768066
Output for 5.2.1
0.0022480487823486
Output for 5.2.0
0.0011520385742188
Output for 5.1.6
0.0012550354003906
Output for 5.1.5
0.0013928413391113
Output for 5.1.4
0.0021569728851318
Output for 5.1.3
0.0011608600616455
Output for 5.1.2
0.0011959075927734
Output for 5.1.1
0.0017168521881104
Output for 5.1.0
0.0013439655303955
Output for 5.0.5
0.0060808658599854
Output for 5.0.4
0.0033957958221436
Output for 5.0.3
0.0051770210266113
Output for 5.0.2
0.0050108432769775
Output for 5.0.1
0.0049238204956055
Output for 5.0.0
0.0048449039459229
Output for 4.4.9
0.003142
Output for 4.4.8
0.004721
Output for 4.4.7
0.004516
Output for 4.4.6
0.004142
Output for 4.4.5
0.003657
Output for 4.4.4
0.003815
Output for 4.4.3
0.004297
Output for 4.4.2
0.00502
Output for 4.4.1
0.005208
Output for 4.4.0
0.005288
Output for 4.3.11
0.005039
Output for 4.3.10
0.004871
Output for 4.3.9
0.003803
Output for 4.3.8
0.005683
Output for 4.3.7
0.004506
Output for 4.3.6
0.003841
Output for 4.3.5
0.005049
Output for 4.3.4
0.003371
Output for 4.3.3
0.005088
Output for 4.3.2
0.0054
Output for 4.3.1
0.004729
Output for 4.3.0
0.002842