3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.7 ms | 1397 KiB | 13 Q