3v4l.org

run code in 300+ PHP versions simultaneously
<?php $keys = array('mesic', 'den', 'hodina'); $row = array('1988'); $hlp = &$row['1988']; foreach($keys as $key) { $hlp[$key] = array(); $hlp = &$hlp[$key]; } var_dump($row);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 5, Position 2 = 11
Branch analysis from position: 5
2 jumps found. (Code = 78) Position 1 = 6, Position 2 = 11
Branch analysis from position: 6
1 jumps found. (Code = 42) Position 1 = 5
Branch analysis from position: 5
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 11
filename:       /in/DKeA7
function name:  (null)
number of ops:  16
compiled vars:  !0 = $keys, !1 = $row, !2 = $hlp, !3 = $key
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        ASSIGN                                                   !1, <array>
    7     2        FETCH_DIM_W                                      $6      !1, 1988
          3        ASSIGN_REF                                               !2, $6
    8     4      > FE_RESET_R                                       $8      !0, ->11
          5    > > FE_FETCH_R                                               $8, !3, ->11
   10     6    >   ASSIGN_DIM                                               !2, !3
          7        OP_DATA                                                  <array>
   11     8        FETCH_DIM_W                                      $10     !2, !3
          9        ASSIGN_REF                                               !2, $10
    8    10      > JMP                                                      ->5
         11    >   FE_FREE                                                  $8
   13    12        INIT_FCALL                                               'var_dump'
         13        SEND_VAR                                                 !1
         14        DO_ICALL                                                 
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.12 ms | 1386 KiB | 15 Q