3v4l.org

run code in 300+ PHP versions simultaneously
<?php $id = 3; $str = "active$id"; $$str = 1; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/VfdZY
function name:  (null)
number of ops:  7
compiled vars:  !0 = $id, !1 = $str
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 3
    5     1        NOP                                                      
          2        FAST_CONCAT                                      ~3      'active', !0
          3        ASSIGN                                                   !1, ~3
    7     4        FETCH_W                      local               $5      !1
          5        ASSIGN                                                   $5, 1
    9     6      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
176.61 ms | 1396 KiB | 13 Q