3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.12 ms | 1392 KiB | 13 Q