3v4l.org

run code in 300+ PHP versions simultaneously
<?php $record = [ [ firstname => 'Joe', lastname => 'McDonald' ] ]; echo $record[0][lastname];
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ko98X
function name:  (null)
number of ops:  11
compiled vars:  !0 = $record
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   FETCH_CONSTANT                                   ~1      'firstname'
          1        INIT_ARRAY                                       ~2      'Joe', ~1
          2        FETCH_CONSTANT                                   ~3      'lastname'
          3        ADD_ARRAY_ELEMENT                                ~2      'McDonald', ~3
          4        INIT_ARRAY                                       ~4      ~2
    3     5        ASSIGN                                                   !0, ~4
    8     6        FETCH_CONSTANT                                   ~7      'lastname'
          7        FETCH_DIM_R                                      ~6      !0, 0
          8        FETCH_DIM_R                                      ~8      ~6, ~7
          9        ECHO                                                     ~8
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
334.93 ms | 1392 KiB | 14 Q