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 = 2, Position 2 = 33
Branch analysis from position: 2
2 jumps found. (Code = 78) Position 1 = 3, Position 2 = 33
Branch analysis from position: 3
2 jumps found. (Code = 43) Position 1 = 7, Position 2 = 13
Branch analysis from position: 7
1 jumps found. (Code = 42) Position 1 = 32
Branch analysis from position: 32
1 jumps found. (Code = 42) Position 1 = 2
Branch analysis from position: 2
Branch analysis from position: 13
2 jumps found. (Code = 43) Position 1 = 19, Position 2 = 25
Branch analysis from position: 19
1 jumps found. (Code = 42) Position 1 = 32
Branch analysis from position: 32
Branch analysis from position: 25
1 jumps found. (Code = 42) Position 1 = 2
Branch analysis from position: 2
Branch analysis from position: 33
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 33
filename:       /in/DgPKp
function name:  (null)
number of ops:  38
compiled vars:  !0 = $arr, !1 = $sub, !2 = $res
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   42     1      > FE_RESET_R                                       $4      !0, ->33
          2    > > FE_FETCH_R                                               $4, !1, ->33
   43     3    >   FETCH_DIM_R                                      ~5      !1, 'location'
          4        ISSET_ISEMPTY_DIM_OBJ                         0  ~6      !2, ~5
          5        BOOL_NOT                                         ~7      ~6
          6      > JMPZ                                                     ~7, ->13
   44     7    >   FETCH_DIM_R                                      ~8      !1, 'location'
          8        FETCH_DIM_R                                      ~10     !1, 'kit'
          9        FETCH_DIM_W                                      $9      !2, ~8
         10        ASSIGN_DIM                                               $9, ~10
         11        OP_DATA                                                  !1
   43    12      > JMP                                                      ->32
   45    13    >   FETCH_DIM_R                                      ~12     !1, 'location'
         14        FETCH_DIM_R                                      ~14     !1, 'kit'
         15        FETCH_DIM_IS                                     ~13     !2, ~12
         16        ISSET_ISEMPTY_DIM_OBJ                         0  ~15     ~13, ~14
         17        BOOL_NOT                                         ~16     ~15
         18      > JMPZ                                                     ~16, ->25
   46    19    >   FETCH_DIM_R                                      ~17     !1, 'location'
         20        FETCH_DIM_R                                      ~19     !1, 'kit'
         21        FETCH_DIM_W                                      $18     !2, ~17
         22        ASSIGN_DIM                                               $18, ~19
         23        OP_DATA                                                  !1
   45    24      > JMP                                                      ->32
   48    25    >   FETCH_DIM_R                                      ~21     !1, 'location'
         26        FETCH_DIM_R                                      ~23     !1, 'kit'
         27        FETCH_DIM_R                                      ~26     !1, 'quantity'
         28        FETCH_DIM_RW                                     $22     !2, ~21
         29        FETCH_DIM_RW                                     $24     $22, ~23
         30        ASSIGN_DIM_OP                +=               1          $24, 'quantity'
         31        OP_DATA                                                  ~26
   42    32    > > JMP                                                      ->2
         33    >   FE_FREE                                                  $4
   52    34        INIT_FCALL                                               'var_dump'
         35        SEND_VAR                                                 !2
         36        DO_ICALL                                                 
         37      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
241.18 ms | 974 KiB | 14 Q