3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.28 ms | 1392 KiB | 13 Q