3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.9 ms | 1393 KiB | 13 Q