3v4l.org

run code in 300+ PHP versions simultaneously
<?php $rest = "test"; $test = 123; $$rest.= '1'; echo $test;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/lMRBe
function name:  (null)
number of ops:  6
compiled vars:  !0 = $rest, !1 = $test
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'test'
    4     1        ASSIGN                                                   !1, 123
    5     2        FETCH_RW                     local               $4      !0
          3        ASSIGN_OP                                     8          $4, '1'
    7     4        ECHO                                                     !1
          5      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
180.22 ms | 1392 KiB | 13 Q