3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $start = microtime(true); for ($i = 0; $i < 1000; ++$i) { bcdiv(40075036, 86164.098903691, 40); } echo microtime(true) - $start;
Output for 7.1.0
0.004734992980957
Output for 7.0.14
0.0046319961547852
Output for 7.0.8
0.0035660266876221
Output for 7.0.7
0.0029520988464355
Output for 7.0.6
0.0031640529632568
Output for 7.0.5
0.0037550926208496
Output for 7.0.4
0.0039150714874268
Output for 7.0.3
0.0038599967956543
Output for 7.0.2
0.0036869049072266
Output for 7.0.1
0.0038390159606934
Output for 7.0.0
0.004033088684082
Output for hhvm-3.12.0
0.0034828186035156
Output for hhvm-3.10.0
0.0038349628448486
Output for 5.6.28
0.0049910545349121
Output for 5.6.23
0.0046589374542236
Output for 5.6.22
0.0028071403503418
Output for 5.6.21
0.0035312175750732
Output for 5.6.20
0.0046849250793457
Output for 5.5.4, 5.6.19
0.0037899017333984
Output for 5.6.18
0.0046789646148682
Output for 5.6.17
0.00331711769104
Output for 5.6.16
0.0046920776367188
Output for 5.6.15
0.0041818618774414
Output for 5.6.14
0.0048210620880127
Output for 5.4.40, 5.6.13
0.004626989364624
Output for 5.6.12
0.0043737888336182
Output for 5.6.11
0.0036170482635498
Output for 5.6.10
0.0042598247528076
Output for 5.6.9
0.0049479007720947
Output for 5.0.5, 5.6.8
0.0035750865936279
Output for 5.6.7
0.0035610198974609
Output for 5.6.6
0.0046460628509521
Output for 5.6.5
0.0041987895965576
Output for 5.5.13, 5.6.4
0.0049030780792236
Output for 5.6.3
0.0046310424804688
Output for 5.6.2
0.0045230388641357
Output for 5.6.1
0.0042669773101807
Output for 5.6.0
0.003446102142334
Output for 5.5.37
0.0041389465332031
Output for 5.5.36
0.0049889087677002
Output for 5.5.35
0.0051760673522949
Output for 5.5.34
0.0043749809265137
Output for 5.5.8, 5.5.33
0.0046930313110352
Output for 5.5.32
0.0035738945007324
Output for 5.5.31
0.0046660900115967
Output for 5.5.30
0.0039339065551758
Output for 5.5.29
0.0047948360443115
Output for 5.5.28
0.0041790008544922
Output for 5.5.27
0.0042269229888916
Output for 5.5.26
0.0032048225402832
Output for 5.5.25
0.0044629573822021
Output for 5.5.1, 5.5.24
0.0040819644927979
Output for 5.5.23
0.0046360492706299
Output for 5.5.22
0.0044219493865967
Output for 5.5.21
0.0044960975646973
Output for 5.5.20
0.0042719841003418
Output for 5.5.19
0.0046839714050293
Output for 5.5.18
0.0042979717254639
Output for 5.5.15 - 5.5.16
0.0049080848693848
Output for 5.5.14
0.0046591758728027
Output for 5.5.12
0.0035860538482666
Output for 5.5.6, 5.5.11
0.004702091217041
Output for 5.5.10
0.0049729347229004
Output for 5.5.9
0.0047221183776855
Output for 5.5.7
0.0038778781890869
Output for 5.5.5
0.004986047744751
Output for 5.5.3
0.004662036895752
Output for 5.5.2
0.0033080577850342
Output for 5.5.0
0.0046999454498291
Output for 5.4.45
0.0044209957122803
Output for 5.4.44
0.0037269592285156
Output for 5.4.43
0.0042469501495361
Output for 5.4.42
0.0041530132293701
Output for 5.4.41
0.0046429634094238
Output for 5.4.39
0.0040609836578369
Output for 5.4.38
0.0044000148773193
Output for 5.4.37
0.003180980682373
Output for 5.4.36
0.0038049221038818
Output for 5.4.35
0.0043339729309082
Output for 5.4.34
0.0043039321899414
Output for 5.4.32
0.0032410621643066
Output for 5.4.31
0.0033857822418213
Output for 5.4.30
0.0044491291046143
Output for 5.4.29
0.0042710304260254
Output for 5.4.28
0.0045499801635742
Output for 5.4.27
0.0040078163146973
Output for 5.4.26
0.0039999485015869
Output for 5.4.25
0.0044739246368408
Output for 5.4.24
0.0049610137939453
Output for 5.4.23
0.0037260055541992
Output for 5.4.22
0.0034329891204834
Output for 5.4.21
0.0046961307525635
Output for 5.4.20
0.0046639442443848
Output for 5.4.19
0.0040121078491211
Output for 5.4.18
0.0028359889984131
Output for 5.4.17
0.0030300617218018
Output for 5.4.16
0.0048201084136963
Output for 5.4.15
0.0032820701599121
Output for 5.4.14
0.0059740543365479
Output for 5.4.13
0.0049829483032227
Output for 5.4.12
0.0046491622924805
Output for 5.4.11
0.0046498775482178
Output for 5.4.10
0.0042009353637695
Output for 5.4.9
0.004065990447998
Output for 5.4.8
0.0046679973602295
Output for 5.4.7
0.0041179656982422
Output for 5.4.6
0.0038590431213379
Output for 5.4.5
0.0046250820159912
Output for 5.4.4
0.0051510334014893
Output for 5.4.3
0.0046091079711914
Output for 5.4.2
0.0048789978027344
Output for 5.4.1
0.005195140838623
Output for 5.4.0
0.0049221515655518
Output for 5.3.29
0.0047500133514404
Output for 5.3.28
0.0046889781951904
Output for 5.3.27
0.0044510364532471
Output for 5.3.26
0.0044610500335693
Output for 5.3.25
0.0043909549713135
Output for 5.3.24
0.0037031173706055
Output for 5.3.23
0.0042531490325928
Output for 5.3.22
0.0048692226409912
Output for 5.3.21
0.0047659873962402
Output for 5.3.20
0.0041568279266357
Output for 5.3.19
0.0045208930969238
Output for 5.3.18
0.0050411224365234
Output for 5.3.17
0.0044920444488525
Output for 5.3.16
0.0028870105743408
Output for 5.3.15
0.0034620761871338
Output for 5.3.14
0.0050458908081055
Output for 5.3.9, 5.3.13
0.0045249462127686
Output for 5.3.12
0.0041830539703369
Output for 5.3.11
0.0047650337219238
Output for 5.3.10
0.0044331550598145
Output for 5.3.8
0.0037000179290771
Output for 5.3.7
0.0033800601959229
Output for 5.3.6
0.0029158592224121
Output for 5.3.5
0.0034470558166504
Output for 5.3.4
0.0033659934997559
Output for 5.3.3
0.0031590461730957
Output for 5.3.2
0.0032498836517334
Output for 5.3.1
0.0038840770721436
Output for 5.3.0
0.0028910636901855
Output for 5.2.17
0.0029900074005127
Output for 5.2.16
0.002892017364502
Output for 5.2.15
0.0043129920959473
Output for 5.2.14
0.0030879974365234
Output for 5.2.13
0.0028738975524902
Output for 5.2.12
0.002993106842041
Output for 5.2.11
0.0033628940582275
Output for 5.2.10
0.0029439926147461
Output for 5.2.9
0.0028719902038574
Output for 5.2.8
0.0030391216278076
Output for 5.2.7
0.0029170513153076
Output for 5.2.6
0.0028250217437744
Output for 5.2.5
0.00301194190979
Output for 5.2.4
0.0032210350036621
Output for 5.2.3
0.002856969833374
Output for 5.2.2
0.0027680397033691
Output for 5.2.1
0.0035009384155273
Output for 5.2.0
0.0035128593444824
Output for 5.1.6
0.0040180683135986
Output for 5.1.5
0.003633975982666
Output for 5.1.4
0.0033791065216064
Output for 5.1.3
0.0034010410308838
Output for 5.1.2
0.003385066986084
Output for 5.1.1
0.0033919811248779
Output for 5.1.0
0.0033760070800781
Output for 5.0.4
0.0037617683410645
Output for 5.0.3
0.0037879943847656
Output for 5.0.2
0.0035250186920166
Output for 5.0.1
0.0048329830169678
Output for 5.0.0
0.0051419734954834
Output for 4.4.9
0.005562
Output for 4.4.8
0.006332
Output for 4.4.7
0.00349
Output for 4.4.6
0.004447
Output for 4.4.5
0.00347
Output for 4.4.4
0.003792
Output for 4.4.3
0.004276
Output for 4.4.2
0.003498
Output for 4.4.1
0.003548
Output for 4.4.0
0.003561
Output for 4.3.11
0.003699
Output for 4.3.10
0.003489
Output for 4.3.9
0.004955
Output for 4.3.8
0.00579
Output for 4.3.7
0.004286
Output for 4.3.6
0.003623
Output for 4.3.5
0.004698
Output for 4.3.4
0.003508
Output for 4.3.3
0.006055
Output for 4.3.2
0.005491
Output for 4.3.1
0.003436
Output for 4.3.0
0.004403