3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
142.2 ms | 1443 KiB | 15 Q