3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $start = microtime(); for ($i = 0;$i<1000;$i++) { fmod(34, 4294967296); } $end = microtime(); echo "fmod: ".$end-$start."<br>\n"; $start = microtime(); for ($i = 0;$i<1000;$i++) { bcmod('34', '4294967296'); } $end = microtime(); echo "bcmod: ".$end-$start."<br>\n";
Output for 7.1.0
Warning: A non-numeric value encountered in /in/jkdFG on line 8 Notice: A non well formed numeric value encountered in /in/jkdFG on line 8 -0.004958<br> Warning: A non-numeric value encountered in /in/jkdFG on line 15 Notice: A non well formed numeric value encountered in /in/jkdFG on line 15 -0.005048<br>
Output for 7.0.14
-0.003861<br> -0.003961<br>
Output for 7.0.8
-0.003455<br> -0.003529<br>
Output for 7.0.7
-0.003697<br> -0.003772<br>
Output for 7.0.6
-0.00403<br> -0.004109<br>
Output for 7.0.5
-0.003631<br> -0.003713<br>
Output for 7.0.4
-0.003358<br> -0.003434<br>
Output for 7.0.3
-0.003262<br> -0.003335<br>
Output for 7.0.2
-0.00347<br> -0.00355<br>
Output for 7.0.1
-0.003361<br> -0.003436<br>
Output for 7.0.0
-0.00356<br> -0.00365<br>
Output for 5.6.28
-0.0045<br> -0.004796<br>
Output for 5.6.23
-0.00344<br> -0.003614<br>
Output for 5.6.22
-0.003004<br> -0.003143<br>
Output for 5.6.21
-0.003451<br> -0.003626<br>
Output for 5.6.20
-0.004572<br> -0.004791<br>
Output for 5.6.19
-0.004512<br> -0.004732<br>
Output for 5.6.18
-0.003396<br> -0.003567<br>
Output for 5.6.17
-0.004383<br> -0.004607<br>
Output for 5.6.16
-0.004381<br> -0.004598<br>
Output for 5.6.15
-0.004593<br> -0.004925<br>
Output for 5.6.14
-0.003996<br> -0.004227<br>
Output for 5.6.13
-0.004299<br> -0.004505<br>
Output for 5.6.12
-0.00438<br> -0.004607<br>
Output for 5.6.11
-0.003998<br> -0.004196<br>
Output for 5.6.10
-0.003324<br> -0.003485<br>
Output for 5.6.9
-0.003538<br> -0.00371<br>
Output for 5.6.8
-0.004709<br> -0.004939<br>
Output for 5.6.7
-0.004192<br> -0.004398<br>
Output for 5.6.6
-0.005177<br> -0.005514<br>
Output for 5.6.5
-0.002943<br> -0.003083<br>
Output for 5.6.4
-0.004681<br> -0.004941<br>
Output for 5.6.3
-0.003722<br> -0.003912<br>
Output for 5.6.2
-0.004808<br> -0.005036<br>
Output for 5.6.1
-0.003793<br> -0.003976<br>
Output for 5.6.0
-0.003033<br> -0.003176<br>
Output for 5.5.37
-0.003116<br> -0.003272<br>
Output for 5.5.36
-0.003226<br> -0.003386<br>
Output for 5.5.35
-0.004733<br> -0.00509<br>
Output for 5.5.34
-0.004578<br> -0.004822<br>
Output for 5.5.33
-0.004573<br> -0.004803<br>
Output for 5.5.32
-0.003655<br> -0.003831<br>
Output for 5.5.31
-0.003511<br> -0.003692<br>
Output for 5.5.30
-0.004359<br> -0.004584<br>
Output for 5.5.29
-0.004662<br> -0.004891<br>
Output for 5.5.28
-0.004298<br> -0.004509<br>
Output for 5.5.27
-0.003759<br> -0.00392<br>
Output for 5.5.26
-0.003138<br> -0.003294<br>
Output for 5.5.25
-0.004247<br> -0.00443<br>
Output for 5.5.24
-0.00424<br> -0.004441<br>
Output for 5.5.23
-0.004444<br> -0.004711<br>
Output for 5.5.22
-0.00467<br> -0.004894<br>
Output for 5.5.21
-0.004405<br> -0.00465<br>
Output for 5.5.20
-0.003854<br> -0.004068<br>
Output for 5.5.19
-0.004293<br> -0.004511<br>
Output for 5.5.18
-0.004333<br> -0.004554<br>
Output for 5.5.16
-0.004355<br> -0.004537<br>
Output for 5.5.15
-0.003559<br> -0.003735<br>
Output for 5.5.14
-0.004416<br> -0.004623<br>
Output for 5.5.13
-0.004462<br> -0.00469<br>
Output for 5.5.12
-0.004743<br> -0.004978<br>
Output for 5.5.11
-0.004548<br> -0.004781<br>
Output for 5.5.10
-0.004525<br> -0.004756<br>
Output for 5.5.9
-0.004616<br> -0.004845<br>
Output for 5.5.8
-0.003314<br> -0.003496<br>
Output for 5.5.7
-0.004371<br> -0.004588<br>
Output for 5.5.6
-0.004723<br> -0.004975<br>
Output for 5.5.5
-0.003879<br> -0.004044<br>
Output for 5.5.4
-0.005047<br> -0.005293<br>
Output for 5.5.3
-0.004513<br> -0.004746<br>
Output for 5.5.2
-0.004697<br> -0.004944<br>
Output for 5.5.1
-0.004827<br> -0.005071<br>
Output for 5.5.0
-0.004197<br> -0.004401<br>
Output for 5.4.45
-0.003776<br> -0.003998<br>
Output for 5.4.44
-0.004191<br> -0.004419<br>
Output for 5.4.43
-0.004351<br> -0.004581<br>
Output for 5.4.42
-0.002925<br> -0.003103<br>
Output for 5.4.41
-0.003787<br> -0.004003<br>
Output for 5.4.40
-0.00252<br> -0.002667<br>
Output for 5.4.39
-0.002787<br> -0.002945<br>
Output for 5.4.38
-0.004021<br> -0.00429<br>
Output for 5.4.37
-0.003629<br> -0.003843<br>
Output for 5.4.36
-0.003593<br> -0.003798<br>
Output for 5.4.35
-0.003891<br> -0.004147<br>
Output for 5.4.34
-0.003933<br> -0.004166<br>
Output for 5.4.32
-0.00416<br> -0.004402<br>
Output for 5.4.31
-0.00375<br> -0.003962<br>
Output for 5.4.30
-0.003726<br> -0.003941<br>
Output for 5.4.29
-0.00392<br> -0.004158<br>
Output for 5.4.28
-0.004138<br> -0.004378<br>
Output for 5.4.27
-0.003621<br> -0.003843<br>
Output for 5.4.26
-0.003759<br> -0.003973<br>
Output for 5.4.25
-0.003894<br> -0.004079<br>
Output for 5.4.24
-0.003962<br> -0.0042<br>
Output for 5.4.23
-0.002709<br> -0.002859<br>
Output for 5.4.22
-0.003877<br> -0.004113<br>
Output for 5.4.21
-0.003649<br> -0.00389<br>
Output for 5.4.20
-0.003711<br> -0.003922<br>
Output for 5.4.19
-0.003593<br> -0.003807<br>
Output for 5.4.18
-0.004097<br> -0.004361<br>
Output for 5.4.17
-0.004128<br> -0.00438<br>
Output for 5.4.16
-0.005371<br> -0.005796<br>
Output for 5.4.15
-0.003441<br> -0.003628<br>
Output for 5.4.14
-0.002442<br> -0.002674<br>
Output for 5.4.13
-0.001874<br> -0.002065<br>
Output for 5.4.12
-0.002324<br> -0.002579<br>
Output for 5.4.11
-0.002294<br> -0.002661<br>
Output for 5.4.10
-0.002444<br> -0.002669<br>
Output for 5.4.9
-0.00213<br> -0.002371<br>
Output for 5.4.8
-0.002253<br> -0.002499<br>
Output for 5.4.7
-0.001908<br> -0.002117<br>
Output for 5.4.6
-0.001835<br> -0.002033<br>
Output for 5.4.5
-0.001962<br> -0.002166<br>
Output for 5.4.4
-0.001774<br> -0.001965<br>
Output for 5.4.3
-0.001991<br> -0.002198<br>
Output for 5.4.2
-0.001648<br> -0.001819<br>
Output for 5.4.1
-0.002214<br> -0.00249<br>
Output for 5.4.0
-0.001861<br> -0.002054<br>
Output for 5.3.29
-0.002165<br> -0.002396<br>
Output for 5.3.28
-0.002165<br> -0.002415<br>
Output for 5.3.27
-0.002249<br> -0.002479<br>
Output for 5.3.26
-0.002477<br> -0.002735<br>
Output for 5.3.25
-0.002216<br> -0.002438<br>
Output for 5.3.24
-0.002096<br> -0.002333<br>
Output for 5.3.23
-0.002467<br> -0.002692<br>
Output for 5.3.22
-0.002046<br> -0.002263<br>
Output for 5.3.21
-0.002047<br> -0.002276<br>
Output for 5.3.20
-0.00271<br> -0.003013<br>
Output for 5.3.19
-0.001597<br> -0.001769<br>
Output for 5.3.18
-0.00212<br> -0.002359<br>
Output for 5.3.17
-0.003198<br> -0.003634<br>
Output for 5.3.16
-0.002197<br> -0.002472<br>
Output for 5.3.15
-0.002455<br> -0.002733<br>
Output for 5.3.14
-0.002234<br> -0.002488<br>
Output for 5.3.13
-0.002107<br> -0.002347<br>
Output for 5.3.12
-0.002109<br> -0.002337<br>
Output for 5.3.11
-0.002421<br> -0.00269<br>
Output for 5.3.10
-0.00211<br> -0.002352<br>
Output for 5.3.9
-0.001869<br> -0.002042<br>
Output for 5.3.8
-0.002162<br> -0.002408<br>
Output for 5.3.7
-0.002236<br> -0.002482<br>
Output for 5.3.6
-0.002375<br> -0.002644<br>
Output for 5.3.5
-0.00224<br> -0.002501<br>
Output for 5.3.4
-0.002188<br> -0.002435<br>
Output for 5.3.3
-0.002192<br> -0.002428<br>
Output for 5.3.2
-0.00244<br> -0.002728<br>
Output for 5.3.1
-0.002183<br> -0.002431<br>
Output for 5.3.0
-0.002067<br> -0.002291<br>
Output for 5.2.17
-0.001873<br> -0.00216<br>
Output for 5.2.16
-0.001934<br> -0.002226<br>
Output for 5.2.15
-0.001876<br> -0.00217<br>
Output for 5.2.14
-0.001938<br> -0.002238<br>
Output for 5.2.13
-0.001878<br> -0.002169<br>
Output for 5.2.12
-0.001513<br> -0.001748<br>
Output for 5.2.11
-0.001842<br> -0.002121<br>
Output for 5.2.10
-0.001443<br> -0.00166<br>
Output for 5.2.9
-0.001656<br> -0.001885<br>
Output for 5.2.8
-0.001934<br> -0.002214<br>
Output for 5.2.7
-0.001734<br> -0.001988<br>
Output for 5.2.6
-0.001935<br> -0.002224<br>
Output for 5.2.5
-0.001833<br> -0.002129<br>
Output for 5.2.4
-0.001844<br> -0.002135<br>
Output for 5.2.3
-0.00182<br> -0.002116<br>
Output for 5.2.2
-0.001827<br> -0.002102<br>
Output for 5.2.1
-0.001921<br> -0.002218<br>
Output for 5.2.0
-0.001725<br> -0.002002<br>
Output for 5.1.6
-0.001778<br> -0.002068<br>
Output for 5.1.5
-0.00174<br> -0.002014<br>
Output for 5.1.4
-0.001583<br> -0.001847<br>
Output for 5.1.3
-0.001127<br> -0.001301<br>
Output for 5.1.2
-0.001748<br> -0.002027<br>
Output for 5.1.1
-0.001252<br> -0.001483<br>
Output for 5.1.0
-0.000978<br> -0.001155<br>
Output for 5.0.5
-0.000624<br> -0.001049<br>
Output for 5.0.4
-0.000773<br> -0.001252<br>
Output for 5.0.3
-0.0007<br> -0.001141<br>
Output for 5.0.2
-0.000711<br> -0.001156<br>
Output for 5.0.1
-0.000726<br> -0.00117<br>
Output for 5.0.0
-0.000657<br> -0.001055<br>
Output for 4.4.9
-0.000113<br> -0.000488<br>
Output for 4.4.8
-0.000129<br> -0.0006<br>
Output for 4.4.7
-0.00014<br> -0.000601<br>
Output for 4.4.6
-9.8E-05<br> -0.000469<br>
Output for 4.4.5
-0.000131<br> -0.000613<br>
Output for 4.4.4
-0.000119<br> -0.000557<br>
Output for 4.4.3
-0.000127<br> -0.000589<br>
Output for 4.4.2
-0.000128<br> -0.000598<br>
Output for 4.4.1
-0.000131<br> -0.000598<br>
Output for 4.4.0
-9.1E-05<br> -0.000366<br>
Output for 4.3.11
-0.000142<br> -0.00064<br>
Output for 4.3.10
-0.000123<br> -0.000549<br>
Output for 4.3.9
-0.000129<br> -0.000606<br>
Output for 4.3.8
-0.000131<br> -0.000511<br>
Output for 4.3.7
-0.000128<br> -0.000618<br>
Output for 4.3.6
-0.000135<br> -0.000534<br>
Output for 4.3.5
-7.3E-05<br> -0.000368<br>
Output for 4.3.4
-0.000123<br> -0.00053<br>
Output for 4.3.3
-0.00012<br> -0.000564<br>
Output for 4.3.2
-0.0001<br> -0.00039<br>
Output for 4.3.1
-9.4E-05<br> -0.000379<br>
Output for 4.3.0
-0.000137<br> -0.00058<br>