3v4l.org

run code in 500+ PHP versions simultaneously
<?php $x = 4; $i = 5; ${"name{$x}place{$i}"} = "test"; echo $name4place5;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/LAMh0
function name:  (null)
number of ops:  10
compiled vars:  !0 = $x, !1 = $i, !2 = $name4place5
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                       !0, 4
    3     1        ASSIGN                                                       !1, 5
    4     2        ROPE_INIT                                         4  ~6      'name'
          3        ROPE_ADD                                          1  ~6      ~6, !0
          4        ROPE_ADD                                          2  ~6      ~6, 'place'
          5        ROPE_END                                          3  ~5      ~6, !1
          6        FETCH_W                          local               $8      ~5
          7        ASSIGN                                                       $8, 'test'
    5     8        ECHO                                                         !2
    6     9      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
166.64 ms | 2511 KiB | 13 Q