3v4l.org

run code in 300+ PHP versions simultaneously
<?php $inv_items["position"][0] = "tuote1"; $inv_items["position"][1] = "tuote2"; print_r($inv_items["position"]); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ugjhW
function name:  (null)
number of ops:  11
compiled vars:  !0 = $inv_items
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   FETCH_DIM_W                                      $1      !0, 'position'
          1        ASSIGN_DIM                                               $1, 0
          2        OP_DATA                                                  'tuote1'
    3     3        FETCH_DIM_W                                      $3      !0, 'position'
          4        ASSIGN_DIM                                               $3, 1
          5        OP_DATA                                                  'tuote2'
    5     6        INIT_FCALL                                               'print_r'
          7        FETCH_DIM_R                                      ~5      !0, 'position'
          8        SEND_VAL                                                 ~5
          9        DO_ICALL                                                 
    6    10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.56 ms | 1398 KiB | 15 Q