3v4l.org

run code in 300+ PHP versions simultaneously
<?php function evalCrossTotal($strMD5) { $intTotal = 0; $arrMD5Chars = str_split($strMD5, 1); print $strMD5; foreach ($arrMD5Chars as $value) { $intTotal += '0x0'.$value; } return $intTotal; } evalCrossTotal(md5('something'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/9YgpG
function name:  (null)
number of ops:  7
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          
          6      > RETURN                                                   1

Function evalcrosstotal:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 9, Position 2 = 13
Branch analysis from position: 9
2 jumps found. (Code = 78) Position 1 = 10, Position 2 = 13
Branch analysis from position: 10
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 13
filename:       /in/9YgpG
function name:  evalCrossTotal
number of ops:  16
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        ECHO                                                     !0
    7     8      > FE_RESET_R                                       $7      !2, ->13
          9    > > FE_FETCH_R                                               $7, !3, ->13
    9    10    >   CONCAT                                           ~8      '0x0', !3
         11        ASSIGN_OP                                     1          !1, ~8
    7    12      > JMP                                                      ->9
         13    >   FE_FREE                                                  $7
   11    14      > RETURN                                                   !1
   12    15*     > RETURN                                                   null

End of function evalcrosstotal

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.43 ms | 1398 KiB | 18 Q