3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $start = microtime(); for ($i = 0;$i<20;$i++) { fmod(34, 4294967296); } $end = microtime(); echo "fmod: ".$end-$start."<br>\n"; $start = microtime(); for ($i = 0;$i<20;$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/uLqth on line 8 Notice: A non well formed numeric value encountered in /in/uLqth on line 8 -0.003935<br> Warning: A non-numeric value encountered in /in/uLqth on line 15 Notice: A non well formed numeric value encountered in /in/uLqth on line 15 -0.003974<br>
Output for 7.0.14
-0.003617<br> -0.003653<br>
Output for 7.0.7
-0.004171<br> -0.00421<br>
Output for 7.0.6
-0.00332<br> -0.003354<br>
Output for 7.0.5
-0.004107<br> -0.00415<br>
Output for 7.0.4
-0.003005<br> -0.003031<br>
Output for 7.0.3
-0.003531<br> -0.003569<br>
Output for 7.0.2
-0.00348<br> -0.003517<br>
Output for 7.0.1
-0.002783<br> -0.002812<br>
Output for 7.0.0
-0.002525<br> -0.002552<br>
Output for 5.6.28
-0.004482<br> -0.004535<br>
Output for 5.6.22
-0.004332<br> -0.004377<br>
Output for 5.6.21
-0.003201<br> -0.003239<br>
Output for 5.6.20
-0.004144<br> -0.004182<br>
Output for 5.6.19
-0.004468<br> -0.004509<br>
Output for 5.6.18
-0.00414<br> -0.004184<br>
Output for 5.6.17
-0.004717<br> -0.004767<br>
Output for 5.6.16
-0.004295<br> -0.004333<br>
Output for 5.6.15
-0.00333<br> -0.003365<br>
Output for 5.6.14
-0.003229<br> -0.003265<br>
Output for 5.6.13
-0.003189<br> -0.003225<br>
Output for 5.6.12
-0.003223<br> -0.00326<br>
Output for 5.6.11
-0.003919<br> -0.003955<br>
Output for 5.6.10
-0.004529<br> -0.004585<br>
Output for 5.6.9
-0.003893<br> -0.003933<br>
Output for 5.6.8
-0.003043<br> -0.003076<br>
Output for 5.6.7
-0.002961<br> -0.002991<br>
Output for 5.6.6
-0.003612<br> -0.003649<br>
Output for 5.6.5
-0.005129<br> -0.005179<br>
Output for 5.6.4
-0.004349<br> -0.004391<br>
Output for 5.6.3
-0.004425<br> -0.004462<br>
Output for 5.6.2
-0.005032<br> -0.005082<br>
Output for 5.6.1
-0.003035<br> -0.003081<br>
Output for 5.6.0
-0.00476<br> -0.00481<br>
Output for 5.5.36
-0.004467<br> -0.004521<br>
Output for 5.5.35
-0.003866<br> -0.003903<br>
Output for 5.5.34
-0.004196<br> -0.004237<br>
Output for 5.5.33
-0.004394<br> -0.004436<br>
Output for 5.5.32
-0.004438<br> -0.004483<br>
Output for 5.5.31
-0.00346<br> -0.003493<br>
Output for 5.5.30
-0.004473<br> -0.004512<br>
Output for 5.5.29
-0.004702<br> -0.004754<br>
Output for 5.5.28
-0.004448<br> -0.004488<br>
Output for 5.5.27
-0.004416<br> -0.00446<br>
Output for 5.5.26
-0.004781<br> -0.004826<br>
Output for 5.5.25
-0.004587<br> -0.004635<br>
Output for 5.5.24
-0.004875<br> -0.004921<br>
Output for 5.5.23
-0.005285<br> -0.005339<br>
Output for 5.5.22
-0.004266<br> -0.004316<br>
Output for 5.5.21
-0.003041<br> -0.003076<br>
Output for 5.5.20
-0.003562<br> -0.003597<br>
Output for 5.5.19
-0.00478<br> -0.004829<br>
Output for 5.5.18
-0.002986<br> -0.003018<br>
Output for 5.5.16
-0.004516<br> -0.004566<br>
Output for 5.5.15
-0.004888<br> -0.004937<br>
Output for 5.5.14
-0.00434<br> -0.004383<br>
Output for 5.5.13
-0.00321<br> -0.003248<br>
Output for 5.5.12
-0.003449<br> -0.003488<br>
Output for 5.5.11
-0.003118<br> -0.003153<br>
Output for 5.5.10
-0.004724<br> -0.004773<br>
Output for 5.5.9
-0.00438<br> -0.004427<br>
Output for 5.5.8
-0.003758<br> -0.003799<br>
Output for 5.5.7
-0.005441<br> -0.005494<br>
Output for 5.5.6
-0.004498<br> -0.004546<br>
Output for 5.5.5
-0.004765<br> -0.004819<br>
Output for 5.5.4
-0.00476<br> -0.004811<br>
Output for 5.5.3
-0.004522<br> -0.004567<br>
Output for 5.5.2
-0.004921<br> -0.004967<br>
Output for 5.5.1
-0.003914<br> -0.003951<br>
Output for 5.5.0
-0.005292<br> -0.00534<br>
Output for 5.4.45
-0.0028<br> -0.00284<br>
Output for 5.4.44
-0.003953<br> -0.004002<br>
Output for 5.4.43
-0.002726<br> -0.002768<br>
Output for 5.4.42
-0.00392<br> -0.003972<br>
Output for 5.4.41
-0.003663<br> -0.003713<br>
Output for 5.4.40
-0.002596<br> -0.002634<br>
Output for 5.4.39
-0.002712<br> -0.002751<br>
Output for 5.4.38
-0.003949<br> -0.003998<br>
Output for 5.4.37
-0.003165<br> -0.003208<br>
Output for 5.4.36
-0.003227<br> -0.003271<br>
Output for 5.4.35
-0.002945<br> -0.002984<br>
Output for 5.4.34
-0.003809<br> -0.003864<br>
Output for 5.4.32
-0.003914<br> -0.003968<br>
Output for 5.4.31
-0.004316<br> -0.004366<br>
Output for 5.4.30
-0.004235<br> -0.004287<br>
Output for 5.4.29
-0.002612<br> -0.002647<br>
Output for 5.4.28
-0.003876<br> -0.003925<br>
Output for 5.4.27
-0.003694<br> -0.003737<br>
Output for 5.4.26
-0.003841<br> -0.003889<br>
Output for 5.4.25
-0.004117<br> -0.004168<br>
Output for 5.4.24
-0.003778<br> -0.003826<br>
Output for 5.4.23
-0.002603<br> -0.002659<br>
Output for 5.4.22
-0.003319<br> -0.003363<br>
Output for 5.4.21
-0.00332<br> -0.003361<br>
Output for 5.4.20
-0.003331<br> -0.003372<br>
Output for 5.4.19
-0.004605<br> -0.004656<br>
Output for 5.4.18
-0.003789<br> -0.003843<br>
Output for 5.4.17
-0.003877<br> -0.003926<br>
Output for 5.4.16
-0.003589<br> -0.003636<br>
Output for 5.4.15
-0.004323<br> -0.004375<br>
Output for 5.4.14
-0.003365<br> -0.003439<br>
Output for 5.4.13
-0.002336<br> -0.002391<br>
Output for 5.4.12
-0.002364<br> -0.002422<br>
Output for 5.4.11
-0.002037<br> -0.002086<br>
Output for 5.4.10
-0.002324<br> -0.002392<br>
Output for 5.4.9
-0.0023<br> -0.002343<br>
Output for 5.4.8
-0.002328<br> -0.002384<br>
Output for 5.4.7
-0.001846<br> -0.001891<br>
Output for 5.4.6
-0.002239<br> -0.002294<br>
Output for 5.4.5
-0.002067<br> -0.002121<br>
Output for 5.4.4
-0.001834<br> -0.00189<br>
Output for 5.4.3
-0.002225<br> -0.002279<br>
Output for 5.4.2
-0.001695<br> -0.001739<br>
Output for 5.4.1
-0.002094<br> -0.002144<br>
Output for 5.4.0
-0.002203<br> -0.002254<br>
Output for 5.3.29
-0.001657<br> -0.001685<br>
Output for 5.3.28
-0.002172<br> -0.002204<br>
Output for 5.3.27
-0.001966<br> -0.001999<br>
Output for 5.3.26
-0.001763<br> -0.001793<br>
Output for 5.3.25
-0.001484<br> -0.001511<br>
Output for 5.3.24
-0.001521<br> -0.001548<br>
Output for 5.3.23
-0.002221<br> -0.002259<br>
Output for 5.3.22
-0.001891<br> -0.001926<br>
Output for 5.3.21
-0.001943<br> -0.001977<br>
Output for 5.3.20
-0.002304<br> -0.002343<br>
Output for 5.3.19
-0.002343<br> -0.002387<br>
Output for 5.3.18
-0.001614<br> -0.001642<br>
Output for 5.3.17
-0.00203<br> -0.002065<br>
Output for 5.3.16
-0.002343<br> -0.002385<br>
Output for 5.3.15
-0.002173<br> -0.002211<br>
Output for 5.3.14
-0.001565<br> -0.001593<br>
Output for 5.3.13
-0.002147<br> -0.00218<br>
Output for 5.3.12
-0.001443<br> -0.00147<br>
Output for 5.3.11
-0.002098<br> -0.002136<br>
Output for 5.3.10
-0.002377<br> -0.002417<br>
Output for 5.3.9
-0.002188<br> -0.002224<br>
Output for 5.3.8
-0.002035<br> -0.002069<br>
Output for 5.3.7
-0.002412<br> -0.002452<br>
Output for 5.3.6
-0.002208<br> -0.002245<br>
Output for 5.3.5
-0.001852<br> -0.001885<br>
Output for 5.3.4
-0.002417<br> -0.002456<br>
Output for 5.3.3
-0.002013<br> -0.002046<br>
Output for 5.3.2
-0.002407<br> -0.002448<br>
Output for 5.3.1
-0.00227<br> -0.002308<br>
Output for 5.3.0
-0.002019<br> -0.002055<br>
Output for 5.2.17
-0.001748<br> -0.001787<br>
Output for 5.2.16
-0.001295<br> -0.001328<br>
Output for 5.2.15
-0.001843<br> -0.001882<br>
Output for 5.2.14
-0.001835<br> -0.001878<br>
Output for 5.2.13
-0.001851<br> -0.001888<br>
Output for 5.2.12
-0.001855<br> -0.001893<br>
Output for 5.2.11
-0.001752<br> -0.001789<br>
Output for 5.2.10
-0.001776<br> -0.001817<br>
Output for 5.2.9
-0.001868<br> -0.001907<br>
Output for 5.2.8
-0.001518<br> -0.001549<br>
Output for 5.2.7
-0.001813<br> -0.00185<br>
Output for 5.2.6
-0.001437<br> -0.001476<br>
Output for 5.2.5
-0.001884<br> -0.001923<br>
Output for 5.2.4
-0.001264<br> -0.001294<br>
Output for 5.2.3
-0.001761<br> -0.0018<br>
Output for 5.2.2
-0.001662<br> -0.001694<br>
Output for 5.2.1
-0.001821<br> -0.001867<br>
Output for 5.2.0
-0.001892<br> -0.001939<br>
Output for 5.1.6
-0.001681<br> -0.001727<br>
Output for 5.1.5
-0.001599<br> -0.001638<br>
Output for 5.1.4
-0.001638<br> -0.00168<br>
Output for 5.1.3
-0.001883<br> -0.00193<br>
Output for 5.1.2
-0.0017<br> -0.001748<br>
Output for 5.1.1
-0.001578<br> -0.001625<br>
Output for 5.1.0
-0.001502<br> -0.001551<br>
Output for 5.0.5
-0.000903<br> -0.000982<br>
Output for 5.0.4
-0.000759<br> -0.000814<br>
Output for 5.0.3
-0.000709<br> -0.000758<br>
Output for 5.0.2
-0.000815<br> -0.000861<br>
Output for 5.0.1
-0.000651<br> -0.000693<br>
Output for 5.0.0
-0.000835<br> -0.000936<br>
Output for 4.4.9
-0.000171<br> -0.000253<br>
Output for 4.4.8
-0.000131<br> -0.000196<br>
Output for 4.4.7
-0.000145<br> -0.000211<br>
Output for 4.4.6
-0.000105<br> -0.000154<br>
Output for 4.4.5
-0.000164<br> -0.000223<br>
Output for 4.4.4
-0.000129<br> -0.000188<br>
Output for 4.4.3
-0.000124<br> -0.000186<br>
Output for 4.4.2
-0.000128<br> -0.000185<br>
Output for 4.4.1
-0.00015<br> -0.000216<br>
Output for 4.4.0
-8.3E-05<br> -0.000119<br>
Output for 4.3.11
-0.000138<br> -0.000192<br>
Output for 4.3.10
-0.000123<br> -0.000171<br>
Output for 4.3.9
-0.000126<br> -0.000177<br>
Output for 4.3.8
-0.00013<br> -0.000182<br>
Output for 4.3.7
-0.000119<br> -0.000169<br>
Output for 4.3.6
-0.000137<br> -0.00019<br>
Output for 4.3.5
-0.000126<br> -0.000179<br>
Output for 4.3.4
-0.00013<br> -0.000183<br>
Output for 4.3.3
-0.000139<br> -0.0002<br>
Output for 4.3.2
-0.000129<br> -0.000192<br>
Output for 4.3.1
-0.000128<br> -0.000179<br>
Output for 4.3.0
-0.000138<br> -0.000185<br>