3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.35 ms | 1393 KiB | 13 Q