3v4l.org

run code in 300+ PHP versions simultaneously
<?php $activeSkillList = new ArrayObject(); $activeSkillList['U1_1021002'] = array( 'refCardId'=> 'U1_1021002'); $activeSkillList['U3_1052005'] = array( 'refCardId'=> 'U3_1052005'); print_r($activeSkillList); foreach($activeSkillList as $key => $value) { $activeSkillList[$key]['12'] = 122;} print_r($activeSkillList);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 11, Position 2 = 17
Branch analysis from position: 11
2 jumps found. (Code = 78) Position 1 = 12, Position 2 = 17
Branch analysis from position: 12
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
Branch analysis from position: 17
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 17
filename:       /in/mHsEU
function name:  (null)
number of ops:  22
compiled vars:  !0 = $activeSkillList, !1 = $value, !2 = $key
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   NEW                                              $3      'ArrayObject'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $3
    3     3        ASSIGN_DIM                                               !0, 'U1_1021002'
    4     4        OP_DATA                                                  <array>
    5     5        ASSIGN_DIM                                               !0, 'U3_1052005'
    6     6        OP_DATA                                                  <array>
    7     7        INIT_FCALL                                               'print_r'
          8        SEND_VAR                                                 !0
          9        DO_ICALL                                                 
    8    10      > FE_RESET_R                                       $9      !0, ->17
         11    > > FE_FETCH_R                                       ~10     $9, !1, ->17
         12    >   ASSIGN                                                   !2, ~10
    9    13        FETCH_DIM_W                                      $12     !0, !2
         14        ASSIGN_DIM                                               $12, 12
         15        OP_DATA                                                  122
    8    16      > JMP                                                      ->11
         17    >   FE_FREE                                                  $9
   10    18        INIT_FCALL                                               'print_r'
         19        SEND_VAR                                                 !0
         20        DO_ICALL                                                 
         21      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
185.37 ms | 1395 KiB | 15 Q