3v4l.org

run code in 300+ PHP versions simultaneously
<?php function evalCrossTotal($strMD5) { $intTotal = 0; $arrMD5Chars = str_split($strMD5, 1); print $arrMD5Chars(); foreach ($arrMD5Chars as $value) { $intTotal += '0x0'.$value; } return $intTotal; } evalCrossTotal(md5('something')); print md5('something');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/6kgvQ
function name:  (null)
number of ops:  11
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   13     0  E >   INIT_FCALL                                               'evalcrosstotal'
          1        INIT_FCALL                                               'md5'
          2        SEND_VAL                                                 'something'
          3        DO_ICALL                                         $0      
          4        SEND_VAR                                                 $0
          5        DO_FCALL                                      0          
   14     6        INIT_FCALL                                               'md5'
          7        SEND_VAL                                                 'something'
          8        DO_ICALL                                         $2      
          9        ECHO                                                     $2
         10      > RETURN                                                   1

Function evalcrosstotal:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 11, Position 2 = 15
Branch analysis from position: 11
2 jumps found. (Code = 78) Position 1 = 12, Position 2 = 15
Branch analysis from position: 12
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 15
filename:       /in/6kgvQ
function name:  evalCrossTotal
number of ops:  18
compiled vars:  !0 = $strMD5, !1 = $intTotal, !2 = $arrMD5Chars, !3 = $value
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   RECV                                             !0      
    4     1        ASSIGN                                                   !1, 0
    5     2        INIT_FCALL                                               'str_split'
          3        SEND_VAR                                                 !0
          4        SEND_VAL                                                 1
          5        DO_ICALL                                         $5      
          6        ASSIGN                                                   !2, $5
    6     7        INIT_DYNAMIC_CALL                                        !2
          8        DO_FCALL                                      0  $7      
          9        ECHO                                                     $7
    7    10      > FE_RESET_R                                       $8      !2, ->15
         11    > > FE_FETCH_R                                               $8, !3, ->15
    9    12    >   CONCAT                                           ~9      '0x0', !3
         13        ASSIGN_OP                                     1          !1, ~9
    7    14      > JMP                                                      ->11
         15    >   FE_FREE                                                  $8
   11    16      > RETURN                                                   !1
   12    17*     > RETURN                                                   null

End of function evalcrosstotal

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.94 ms | 1390 KiB | 18 Q