3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.92 ms | 1392 KiB | 13 Q