3v4l.org

run code in 500+ PHP versions simultaneously
<?php $string = 'Foo'; $offset = 'bar'; $baz = &$string[$offset];
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/R26LK
function name:  (null)
number of ops:  5
compiled vars:  !0 = $string, !1 = $offset, !2 = $baz
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, 'Foo'
    4     1        ASSIGN                                                       !1, 'bar'
    5     2        FETCH_DIM_W                                          $5      !0, !1
          3        ASSIGN_REF                                                   !2, $5
          4      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
216.41 ms | 2331 KiB | 13 Q