3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.24 ms | 933 KiB | 14 Q