3v4l.org

run code in 300+ PHP versions simultaneously
<?php $start = microtime(true); fmod(34, 4294967296); $end = microtime(true); echo "fmod: ".$end-$start."<br>\n"; $start = microtime(true); bcmod('34', '4294967296'); $end = microtime(true); echo "bcmod: ".$end-$start."<br>\n";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/mgLfa
function name:  (null)
number of ops:  33
compiled vars:  !0 = $start, !1 = $end
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'microtime'
          1        SEND_VAL                                                 <true>
          2        DO_ICALL                                         $2      
          3        ASSIGN                                                   !0, $2
    5     4        INIT_FCALL                                               'fmod'
          5        SEND_VAL                                                 34
          6        SEND_VAL                                                 4294967296
          7        DO_ICALL                                                 
    7     8        INIT_FCALL                                               'microtime'
          9        SEND_VAL                                                 <true>
         10        DO_ICALL                                         $5      
         11        ASSIGN                                                   !1, $5
    8    12        SUB                                              ~7      !1, !0
         13        CONCAT                                           ~8      'fmod%3A+', ~7
         14        CONCAT                                           ~9      ~8, '%3Cbr%3E%0A'
         15        ECHO                                                     ~9
   10    16        INIT_FCALL                                               'microtime'
         17        SEND_VAL                                                 <true>
         18        DO_ICALL                                         $10     
         19        ASSIGN                                                   !0, $10
   12    20        INIT_FCALL_BY_NAME                                       'bcmod'
         21        SEND_VAL_EX                                              '34'
         22        SEND_VAL_EX                                              '4294967296'
         23        DO_FCALL                                      0          
   14    24        INIT_FCALL                                               'microtime'
         25        SEND_VAL                                                 <true>
         26        DO_ICALL                                         $13     
         27        ASSIGN                                                   !1, $13
   15    28        SUB                                              ~15     !1, !0
         29        CONCAT                                           ~16     'bcmod%3A+', ~15
         30        CONCAT                                           ~17     ~16, '%3Cbr%3E%0A'
         31        ECHO                                                     ~17
         32      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.47 ms | 1396 KiB | 20 Q