3v4l.org

run code in 300+ PHP versions simultaneously
<?php $obj = new MultiArrayObject(); $obj['key']['subkey'] = 'test'; echo $obj['key']['subkey'];
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/kLj57
function name:  (null)
number of ops:  10
compiled vars:  !0 = $obj
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   NEW                                              $1      'MultiArrayObject'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
    4     3        FETCH_DIM_W                                      $4      !0, 'key'
          4        ASSIGN_DIM                                               $4, 'subkey'
          5        OP_DATA                                                  'test'
    5     6        FETCH_DIM_R                                      ~6      !0, 'key'
          7        FETCH_DIM_R                                      ~7      ~6, 'subkey'
          8        ECHO                                                     ~7
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.48 ms | 1396 KiB | 13 Q