3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
170.34 ms | 1392 KiB | 13 Q