3v4l.org

run code in 500+ PHP versions simultaneously
<?php $var1 = "Hello"; $nbr = "var"; $id = 1; echo ${$nbr.$id};
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/o7oYp
function name:  (null)
number of ops:  7
compiled vars:  !0 = $var1, !1 = $nbr, !2 = $id
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                       !0, 'Hello'
    3     1        ASSIGN                                                       !1, 'var'
    4     2        ASSIGN                                                       !2, 1
    5     3        CONCAT                                               ~6      !1, !2
          4        FETCH_R                          local               ~7      ~6
          5        ECHO                                                         ~7
          6      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
156.04 ms | 2203 KiB | 12 Q