3v4l.org

run code in 300+ PHP versions simultaneously
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 6, Position 2 = 19
Branch analysis from position: 6
2 jumps found. (Code = 78) Position 1 = 7, Position 2 = 19
Branch analysis from position: 7
2 jumps found. (Code = 43) Position 1 = 12, Position 2 = 15
Branch analysis from position: 12
1 jumps found. (Code = 42) Position 1 = 6
Branch analysis from position: 6
Branch analysis from position: 15
Branch analysis from position: 19
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 19
filename:       /in/3aTgR
function name:  (null)
number of ops:  28
compiled vars:  !0 = $array, !1 = $result, !2 = $v, !3 = $k, !4 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   26     1        INIT_FCALL                                               'print_r'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                                 
   29     4        ASSIGN                                                   !1, <array>
   30     5      > FE_RESET_R                                       $8      !0, ->19
          6    > > FE_FETCH_R                                       ~9      $8, !2, ->19
          7    >   ASSIGN                                                   !3, ~9
   31     8        ASSIGN                                                   !4, 0
   32     9        FETCH_DIM_R                                      ~12     !2, 'SUBMODEL_NAME'
         10        IS_EQUAL                                                 ~12, ''
         11      > JMPZ                                                     ~13, ->15
   33    12    >   PRE_INC                                                  !4
   34    13        SUB                                              ~15     !3, 1
         14        ASSIGN                                                   !3, ~15
   36    15    >   FETCH_DIM_W                                      $17     !1, !3
         16        ASSIGN_DIM                                               $17, !4
         17        OP_DATA                                                  !2
   30    18      > JMP                                                      ->6
         19    >   FE_FREE                                                  $8
   38    20        INIT_FCALL                                               'array_values'
         21        SEND_VAR                                                 !1
         22        DO_ICALL                                         $19     
         23        ASSIGN                                                   !1, $19
   39    24        INIT_FCALL                                               'print_r'
         25        SEND_VAR                                                 !1
         26        DO_ICALL                                                 
         27      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
140.77 ms | 969 KiB | 15 Q