3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $start = microtime(); for ($i = 0;$i<5;$i++) { fmod(34, 4294967296); } $end = microtime(); echo "fmod: ".$end-$start."<br>\n"; $start = microtime(); for ($i = 0;$i<5;$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/nrUFn on line 8 Notice: A non well formed numeric value encountered in /in/nrUFn on line 8 -0.006186<br> Warning: A non-numeric value encountered in /in/nrUFn on line 15 Notice: A non well formed numeric value encountered in /in/nrUFn on line 15 -0.006238<br>
Output for 7.0.14
-0.003687<br> -0.00373<br>
Output for 7.0.6
-0.860665<br> -0.860689<br>
Output for 7.0.5
-0.576288<br> Fatal error: Uncaught Error: Call to undefined function bcmod() in /in/nrUFn:12 Stack trace: #0 {main} thrown in /in/nrUFn on line 12
Process exited with code 255.
Output for 7.0.4
-0.873837<br> -0.873873<br>
Output for 7.0.3
-0.027711<br> -0.027745<br>
Output for 7.0.2
-0.584268<br> -0.584297<br>
Output for 7.0.1
-0.576504<br> -0.576534<br>
Output for 7.0.0
-0.147772<br> -0.147811<br>
Output for hhvm-3.12.0
-0.521239<br> -0.521406<br>
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.6.28
-0.004512<br> -0.004561<br>
Output for 5.6.21
-0.031838<br> -0.031865<br>
Output for 5.6.20
-0.322779<br> Fatal error: Call to undefined function bcmod() in /in/nrUFn on line 12
Process exited with code 255.
Output for 5.6.19
-0.659094<br> -0.65913<br>
Output for 5.6.18
-0.522468<br> -0.522494<br>
Output for 5.6.17
-0.681261<br> -0.681293<br>
Output for 5.6.16
-0.760487<br> -0.760522<br>
Output for 5.6.15
-0.147019<br> Fatal error: Call to undefined function bcmod() in /in/nrUFn on line 12
Process exited with code 255.
Output for 5.6.14
-0.07635<br> Fatal error: Call to undefined function bcmod() in /in/nrUFn on line 12
Process exited with code 255.
Output for 5.6.13
-0.435117<br> Fatal error: Call to undefined function bcmod() in /in/nrUFn on line 12
Process exited with code 255.
Output for 5.6.12
-0.523439<br> -0.523482<br>
Output for 5.6.11
-0.047508<br> -0.047547<br>
Output for 5.6.10
-0.81212<br> -0.812161<br>
Output for 5.6.9
-0.79994<br> -0.799981<br>
Output for 5.6.8
-0.088612<br> -0.088658<br>
Output for 5.6.7
-0.291115<br> -0.29114<br>
Output for 5.5.35
-0.379173<br> -0.379212<br>
Output for 5.5.34
-0.214182<br> Fatal error: Call to undefined function bcmod() in /in/nrUFn on line 12
Process exited with code 255.
Output for 5.5.33
-0.23636<br> -0.236388<br>
Output for 5.5.32
-0.858172<br> -0.85823<br>
Output for 5.5.31
-0.513815<br> -0.513851<br>
Output for 5.5.30
-0.292213<br> Fatal error: Call to undefined function bcmod() in /in/nrUFn on line 12
Process exited with code 255.
Output for 5.5.29
-0.041004<br> Fatal error: Call to undefined function bcmod() in /in/nrUFn on line 12
Process exited with code 255.
Output for 5.5.28
-0.718642<br> -0.718673<br>
Output for 5.5.27
-0.650229<br> -0.650266<br>
Output for 5.5.26
-0.883077<br> -0.883122<br>
Output for 5.5.25
-0.940613<br> -0.940654<br>
Output for 5.5.24
-0.892326<br> -0.892371<br>
Output for 5.4.45
-0.810058<br> -0.810099<br>
Output for 5.4.44
-0.866232<br> -0.866269<br>
Output for 5.4.43
-0.295301<br> -0.295338<br>
Output for 5.4.42
-0.002124<br> -0.002168<br>
Output for 5.4.41
-0.362412<br> -0.362448<br>
Output for 5.4.40
-0.472521<br> -0.472565<br>
Output for 5.4.39
-0.118107<br> -0.118147<br>
Output for 5.4.38
-0.535949<br> -0.535989<br>
Output for 5.4.37
-0.434874<br> -0.434912<br>
Output for 5.4.36
-0.619412<br> -0.619455<br>
Output for 5.4.35
-0.110852<br> -0.110879<br>
Output for 5.4.34
-0.765172<br> -0.765198<br>
Output for 5.4.32
-0.445604<br> -0.44563<br>
Output for 5.4.31
-0.711939<br> -0.711963<br>
Output for 5.4.30
-0.135168<br> -0.135194<br>
Output for 5.4.29
-0.268003<br> -0.268026<br>
Output for 5.4.28
-0.534864<br> -0.534902<br>
Output for 5.4.27
-0.7964<br> -0.796423<br>
Output for 5.4.26
-0.124411<br> -0.124445<br>
Output for 5.4.25
-0.389873<br> -0.389895<br>
Output for 5.4.24
-0.788777<br> -0.788804<br>
Output for 5.4.23
-0.919494<br> -0.919522<br>
Output for 5.4.22
-0.457075<br> -0.457098<br>
Output for 5.4.21
-0.585438<br> -0.585468<br>
Output for 5.4.20
-0.882074<br> -0.882097<br>
Output for 5.4.19
-0.320271<br> -0.320295<br>
Output for 5.4.18
-0.604063<br> -0.604086<br>
Output for 5.4.17
-0.002247<br> -0.00227<br>
Output for 5.4.16
-0.508166<br> -0.508214<br>
Output for 5.4.15
-0.651337<br> -0.651366<br>
Output for 5.4.14
-0.992062<br> -0.992107<br>
Output for 5.4.13
-0.343013<br> -0.343048<br>
Output for 5.4.12
-0.697503<br> -0.697539<br>
Output for 5.4.11
-0.221787<br> -0.221828<br>
Output for 5.4.10
-0.635395<br> -0.635433<br>
Output for 5.4.9
-0.813681<br> -0.813717<br>
Output for 5.4.8
-0.381331<br> -0.381364<br>
Output for 5.4.7
-0.742818<br> -0.742849<br>
Output for 5.4.6
-0.916501<br> -0.916535<br>
Output for 5.4.5
-0.431075<br> -0.431116<br>
Output for 5.4.4
-0.775238<br> -0.775275<br>
Output for 5.4.3
-0.932076<br> -0.932105<br>
Output for 5.4.2
-0.440662<br> -0.440699<br>
Output for 5.4.1
-0.77067<br> -0.770701<br>
Output for 5.4.0
-0.951621<br> -0.951676<br>
Output for 5.3.29
-0.576517<br> -0.576538<br>
Output for 5.3.28
-0.182063<br> -0.182085<br>
Output for 5.3.27
-0.871646<br> -0.871667<br>
Output for 5.3.26
-0.329667<br> -0.329697<br>
Output for 5.3.25
-0.808412<br> -0.808449<br>
Output for 5.3.24
-0.175409<br> -0.175442<br>
Output for 5.3.23
-0.520217<br> -0.52025<br>
Output for 5.3.22
-0.8656<br> -0.865632<br>
Output for 5.3.21
-0.041909<br> -0.041938<br>
Output for 5.3.20
-0.401335<br> -0.40137<br>
Output for 5.3.19
-0.996141<br> -0.996175<br>
Output for 5.3.18
-0.168802<br> -0.168833<br>
Output for 5.3.17
-0.575689<br> -0.575723<br>
Output for 5.3.16
-0.096002<br> -0.096035<br>
Output for 5.3.15
-0.253696<br> -0.253724<br>
Output for 5.3.14
-0.609041<br> -0.609074<br>
Output for 5.3.13
-0.084152<br> -0.084176<br>
Output for 5.3.12
-0.265767<br> -0.265799<br>
Output for 5.3.11
-0.618514<br> -0.618547<br>
Output for 5.3.10
-0.108621<br> -0.108647<br>
Output for 5.3.9
-0.32156<br> -0.321591<br>
Output for 5.3.8
-0.500063<br> -0.500096<br>
Output for 5.3.7
-0.666797<br> -0.666822<br>
Output for 5.3.6
-0.80513<br> -0.805159<br>
Output for 5.3.5
-0.98107<br> -0.981102<br>
Output for 5.3.4
-0.477133<br> -0.477164<br>
Output for 5.3.3
-0.798156<br> -0.798189<br>
Output for 5.3.2
-0.120673<br> -0.120701<br>
Output for 5.3.1
-0.599335<br> -0.599367<br>
Output for 5.3.0
-0.927559<br> -0.927592<br>
Output for 5.2.17
-0.143268<br> -0.143302<br>
Output for 5.2.16
-0.303468<br> -0.3035<br>
Output for 5.2.15
-0.618756<br> -0.618786<br>
Output for 5.2.14
-0.958574<br> -0.958612<br>
Output for 5.2.13
-0.282523<br> -0.282555<br>
Output for 5.2.12
-0.423286<br> -0.423313<br>
Output for 5.2.11
-0.756735<br> -0.756768<br>
Output for 5.2.10
-0.102035<br> -0.10207<br>
Output for 5.2.9
-0.253484<br> -0.253517<br>
Output for 5.2.8
-0.411123<br> -0.411166<br>
Output for 5.2.7
-0.578321<br> -0.578356<br>
Output for 5.2.6
-0.862381<br> -0.862413<br>
Output for 5.2.5
-0.132897<br> -0.132933<br>
Output for 5.2.4
-0.274534<br> -0.274567<br>
Output for 5.2.3
-0.432793<br> -0.432829<br>
Output for 5.2.2
-0.566851<br> -0.566881<br>
Output for 5.2.1
-0.096384<br> -0.096422<br>
Output for 5.2.0
-0.238328<br> -0.238358<br>
Output for 5.1.6
-0.358991<br> -0.359019<br>
Output for 5.1.5
-0.613117<br> -0.613147<br>
Output for 5.1.4
-0.867008<br> -0.867047<br>
Output for 5.1.3
-0.018527<br> -0.018576<br>
Output for 5.1.2
-0.162295<br> -0.162329<br>
Output for 5.1.1
-0.435638<br> -0.435675<br>
Output for 5.1.0
-0.573054<br> -0.573087<br>
Output for 5.0.5
-0.823538<br> -0.82357<br>
Output for 5.0.4
-0.133065<br> -0.13311<br>
Output for 5.0.3
-0.371324<br> -0.371348<br>
Output for 5.0.2
-0.628287<br> -0.628326<br>
Output for 5.0.1
-0.875199<br> -0.875239<br>
Output for 5.0.0
-0.055646<br> -0.05568<br>
Output for 4.4.9
-0.70997<br> -0.71001<br>
Output for 4.4.8
-0.984139<br> -0.984181<br>
Output for 4.4.7
-0.693849<br> -0.693888<br>
Output for 4.4.6
-0.818626<br> -0.818673<br>
Output for 4.4.5
-0.941168<br> -0.941213<br>
Output for 4.4.4
-0.484955<br> -0.484988<br>
Output for 4.4.3
-0.721496<br> -0.721529<br>
Output for 4.4.2
-0.28314<br> -0.28322<br>
Output for 4.4.1
-0.691267<br> -0.691318<br>
Output for 4.4.0
-0.958008<br> -0.958041<br>
Output for 4.3.11
-0.245896<br> -0.245929<br>
Output for 4.3.10
-0.495478<br> -0.495507<br>
Output for 4.3.9
-0.742422<br> -0.742459<br>
Output for 4.3.8
-0.199213<br> -0.199251<br>
Output for 4.3.7
-0.318343<br> -0.318383<br>
Output for 4.3.6
-0.441702<br> -0.441737<br>
Output for 4.3.5
-0.558525<br> -0.558567<br>
Output for 4.3.4
-0.700991<br> -0.70103<br>
Output for 4.3.3
-0.824276<br> -0.824338<br>
Output for 4.3.2
-0.951188<br> -0.951248<br>
Output for 4.3.1
-0.072273<br> -0.072313<br>
Output for 4.3.0
-0.195231<br> -0.195282<br>