3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $start = microtime(true); for ($i=0;$i<9999;$i++) { fmod(34, 4294967296); } $end = microtime(true); echo $end-$start."lol\n"; $start = microtime(true); for ($i=0;$i<9999;$i++) { bcmod('34', '4294967296'); } $end = microtime(true); echo $end-$start."\n";
based on 8Rijc
Output for 7.1.0
0.00054097175598145lol 0.0061202049255371
Output for 7.0.14
0.00056695938110352lol 0.0068550109863281
Output for 7.0.6
0.00046396255493164lol 0.0051801204681396
Output for 7.0.5
0.00043392181396484lol Fatal error: Uncaught Error: Call to undefined function bcmod() in /in/X0Hu3:13 Stack trace: #0 {main} thrown in /in/X0Hu3 on line 13
Process exited with code 255.
Output for 7.0.4
0.00044012069702148lol 0.0047240257263184
Output for 7.0.3
0.00033307075500488lol 0.0036571025848389
Output for 7.0.2
0.00033712387084961lol 0.0036039352416992
Output for 7.0.1
0.00049185752868652lol 0.0056488513946533
Output for 7.0.0
0.00032496452331543lol 0.003727912902832
Output for hhvm-3.12.0
0.0012538433074951lol 0.008310079574585
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.6.28
0.0023460388183594lol 0.0087339878082275
Output for 5.6.21
0.0028908252716064lol 0.0093479156494141
Output for 5.6.20
0.0017881393432617lol Fatal error: Call to undefined function bcmod() in /in/X0Hu3 on line 13
Process exited with code 255.
Output for 5.6.19
0.0011639595031738lol 0.0048999786376953
Output for 5.6.18
0.0013680458068848lol 0.005748987197876
Output for 5.6.17
0.0016970634460449lol 0.0073931217193604
Output for 5.6.16
0.0016701221466064lol 0.0075609683990479
Output for 5.6.15
0.0011069774627686lol Fatal error: Call to undefined function bcmod() in /in/X0Hu3 on line 13
Process exited with code 255.
Output for 5.6.14
0.0016908645629883lol Fatal error: Call to undefined function bcmod() in /in/X0Hu3 on line 13
Process exited with code 255.
Output for 5.6.13
0.0015509128570557lol Fatal error: Call to undefined function bcmod() in /in/X0Hu3 on line 13
Process exited with code 255.
Output for 5.6.12
0.0016918182373047lol 0.0083081722259521
Output for 5.6.11
0.0014660358428955lol 0.0070600509643555
Output for 5.6.10
0.0024509429931641lol 0.011247873306274
Output for 5.6.9
0.0011990070343018lol 0.005889892578125
Output for 5.6.8
0.0017499923706055lol 0.0081651210784912
Output for 5.5.35
0.0015671253204346lol 0.0073239803314209
Output for 5.5.34
0.0017750263214111lol Fatal error: Call to undefined function bcmod() in /in/X0Hu3 on line 13
Process exited with code 255.
Output for 5.5.33
0.0013771057128906lol 0.0058560371398926
Output for 5.5.32
0.0011389255523682lol 0.0053110122680664
Output for 5.5.31
0.001201868057251lol 0.0055670738220215
Output for 5.5.30
0.0017228126525879lol Fatal error: Call to undefined function bcmod() in /in/X0Hu3 on line 13
Process exited with code 255.
Output for 5.5.29
0.0011639595031738lol Fatal error: Call to undefined function bcmod() in /in/X0Hu3 on line 13
Process exited with code 255.
Output for 5.5.28
0.0022740364074707lol 0.010133981704712
Output for 5.5.27
0.001708984375lol 0.0085349082946777
Output for 5.5.26
0.0022809505462646lol 0.0080640316009521
Output for 5.5.25
0.0013439655303955lol 0.0063281059265137
Output for 5.5.24
0.0019180774688721lol 0.0085639953613281
Output for 5.4.45
0.0019528865814209lol 0.00872802734375
Output for 5.4.44
0.0016410350799561lol 0.0074241161346436
Output for 5.4.43
0.0019700527191162lol 0.0060420036315918
Output for 5.4.42
0.0018370151519775lol 0.0072290897369385
Output for 5.4.41
0.0019571781158447lol 0.0070269107818604
Output for 5.4.40
0.001971960067749lol 0.0073709487915039
Output for 5.4.39
0.0018899440765381lol 0.0084691047668457
Output for 5.4.38
0.0019741058349609lol 0.0076498985290527
Output for 5.4.37
0.002007007598877lol 0.0075938701629639
Output for 5.4.36
0.0022130012512207lol 0.0085551738739014
Output for 5.4.35
0.0019409656524658lol 0.010507822036743
Output for 5.4.34
0.0019159317016602lol 0.0069758892059326
Output for 5.4.32
0.0014889240264893lol 0.0067129135131836
Output for 5.4.31
0.0023741722106934lol 0.007335901260376
Output for 5.4.30
0.0024290084838867lol 0.0079870223999023
Output for 5.4.29
0.0015220642089844lol 0.0057930946350098
Output for 5.4.28
0.0016200542449951lol 0.0059230327606201
Output for 5.4.27
0.0023350715637207lol 0.006850004196167
Output for 5.4.26
0.0027220249176025lol 0.0088529586791992
Output for 5.4.25
0.0016889572143555lol 0.0061419010162354
Output for 5.4.24
0.0014989376068115lol 0.0058739185333252
Output for 5.4.23
0.0014591217041016lol 0.0058691501617432
Output for 5.4.22
0.0017969608306885lol 0.0074357986450195
Output for 5.4.21
0.002683162689209lol 0.01067590713501
Output for 5.4.20
0.0015261173248291lol 0.0062170028686523
Output for 5.4.19
0.0026888847351074lol 0.010632991790771
Output for 5.4.18
0.0029909610748291lol 0.010892868041992
Output for 5.4.17
0.0022399425506592lol 0.010511875152588
Output for 5.4.16
0.0029609203338623lol 0.01976490020752
Output for 5.4.15
0.00242018699646lol 0.010596990585327
Output for 5.4.14
0.0018289089202881lol 0.0063769817352295
Output for 5.4.13
0.0014638900756836lol 0.0059158802032471
Output for 5.4.12
0.0018107891082764lol 0.0064191818237305
Output for 5.4.11
0.0014960765838623lol 0.0064210891723633
Output for 5.4.10
0.0016181468963623lol 0.0065920352935791
Output for 5.4.9
0.0016181468963623lol 0.0067489147186279
Output for 5.4.8
0.0016400814056396lol 0.0061330795288086
Output for 5.4.7
0.0020749568939209lol 0.0058629512786865
Output for 5.4.6
0.0014910697937012lol 0.005681037902832
Output for 5.4.5
0.0024218559265137lol 0.0092639923095703
Output for 5.4.4
0.0020489692687988lol 0.0079441070556641
Output for 5.4.3
0.0015101432800293lol 0.0062248706817627
Output for 5.4.2
0.001478910446167lol 0.0061600208282471
Output for 5.4.1
0.0016019344329834lol 0.0064029693603516
Output for 5.4.0
0.0021688938140869lol 0.0067541599273682
Output for 5.3.29
0.0018150806427002lol 0.0062799453735352
Output for 5.3.28
0.0016870498657227lol 0.0071251392364502
Output for 5.3.27
0.0016410350799561lol 0.0061309337615967
Output for 5.3.26
0.0015978813171387lol 0.006321907043457
Output for 5.3.25
0.0016870498657227lol 0.0059690475463867
Output for 5.3.24
0.0016739368438721lol 0.0061519145965576
Output for 5.3.23
0.0016369819641113lol 0.0059759616851807
Output for 5.3.22
0.0023930072784424lol 0.0075838565826416
Output for 5.3.21
0.0017058849334717lol 0.0061819553375244
Output for 5.3.20
0.0023510456085205lol 0.0065197944641113
Output for 5.3.19
0.0016961097717285lol 0.005964994430542
Output for 5.3.18
0.0016989707946777lol 0.0064148902893066
Output for 5.3.17
0.0017158985137939lol 0.00649094581604
Output for 5.3.16
0.0017271041870117lol 0.0065000057220459
Output for 5.3.15
0.0020179748535156lol 0.010079860687256
Output for 5.3.14
0.0021190643310547lol 0.007627010345459
Output for 5.3.13
0.0019979476928711lol 0.0060889720916748
Output for 5.3.12
0.0019779205322266lol 0.0099549293518066
Output for 5.3.11
0.002385139465332lol 0.0063159465789795
Output for 5.3.10
0.002316951751709lol 0.0092549324035645
Output for 5.3.9
0.0017468929290771lol 0.0064969062805176
Output for 5.3.8
0.0018019676208496lol 0.007112979888916
Output for 5.3.7
0.00189208984375lol 0.0067470073699951
Output for 5.3.6
0.002924919128418lol 0.011141061782837
Output for 5.3.5
0.0019259452819824lol 0.0075428485870361
Output for 5.3.4
0.0029420852661133lol 0.012259960174561
Output for 5.3.3
0.0020959377288818lol 0.006831169128418
Output for 5.3.2
0.0018949508666992lol 0.0065808296203613
Output for 5.3.1
0.002108097076416lol 0.006342887878418
Output for 5.3.0
0.0016589164733887lol 0.006234884262085
Output for 5.2.17
0.0019090175628662lol 0.0064239501953125
Output for 5.2.16
0.0018081665039062lol 0.0060200691223145
Output for 5.2.15
0.0019698143005371lol 0.0067169666290283
Output for 5.2.14
0.0024330615997314lol 0.008674144744873
Output for 5.2.13
0.0019130706787109lol 0.0087709426879883
Output for 5.2.12
0.0020458698272705lol 0.006350040435791
Output for 5.2.11
0.00189208984375lol 0.0060689449310303
Output for 5.2.10
0.0028500556945801lol 0.0068681240081787
Output for 5.2.9
0.0018148422241211lol 0.0059361457824707
Output for 5.2.8
0.0018467903137207lol 0.0062530040740967
Output for 5.2.7
0.0024170875549316lol 0.0066180229187012
Output for 5.2.6
0.0017821788787842lol 0.0060548782348633
Output for 5.2.5
0.0017719268798828lol 0.0062131881713867
Output for 5.2.4
0.0031239986419678lol 0.0062870979309082
Output for 5.2.3
0.0020430088043213lol 0.0059061050415039
Output for 5.2.2
0.0017709732055664lol 0.0065550804138184
Output for 5.2.1
0.0017611980438232lol 0.0058820247650146
Output for 5.2.0
0.0017709732055664lol 0.0075218677520752
Output for 5.1.6
0.0016942024230957lol 0.0058481693267822
Output for 5.1.5
0.0018181800842285lol 0.0053989887237549
Output for 5.1.4
0.0016701221466064lol 0.0055351257324219
Output for 5.1.3
0.0016880035400391lol 0.0053508281707764
Output for 5.1.2
0.0037219524383545lol 0.0094120502471924
Output for 5.1.1
0.0016341209411621lol 0.0055599212646484
Output for 5.1.0
0.0016720294952393lol 0.005530834197998
Output for 5.0.5
0.0028491020202637lol 0.006505012512207
Output for 5.0.4
0.0025961399078369lol 0.0064330101013184
Output for 5.0.3
0.0026800632476807lol 0.0064349174499512
Output for 5.0.2
0.0026149749755859lol 0.0062570571899414
Output for 5.0.1
0.0033860206604004lol 0.0067229270935059
Output for 5.0.0
0.0025870800018311lol 0.0061819553375244
Output for 4.4.9
0.002908lol 0.006318
Output for 4.4.8
0.002574lol 0.006617
Output for 4.4.7
0.002488lol 0.006352
Output for 4.4.6
0.00248lol 0.006403
Output for 4.4.5
0.00548lol 0.008862
Output for 4.4.4
0.00334lol 0.007155
Output for 4.4.3
0.002745lol 0.006972
Output for 4.4.2
0.002569lol 0.007347
Output for 4.4.1
0.005357lol 0.008386
Output for 4.4.0
0.0025090000000001lol 0.006399
Output for 4.3.11
0.0033840000000001lol 0.0064299999999999
Output for 4.3.10
0.003773lol 0.012749
Output for 4.3.9
0.002625lol 0.006242
Output for 4.3.8
0.00261lol 0.006242
Output for 4.3.7
0.0026050000000001lol 0.006243
Output for 4.3.6
0.004382lol 0.011123
Output for 4.3.5
0.0025540000000001lol 0.0064650000000001
Output for 4.3.4
0.002405lol 0.006386
Output for 4.3.3
0.002619lol 0.006471
Output for 4.3.2
0.002402lol 0.0061329999999999
Output for 4.3.1
0.002772lol 0.006151
Output for 4.3.0
0.0109lol 0.009028