3v4l.org

run code in 300+ PHP versions simultaneously
<?php $foo = "Variable!\n"; $bar = "foo"; $wom = "bar"; $bat = "wom"; print $$bat; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/PUrNf
function name:  (null)
number of ops:  7
compiled vars:  !0 = $foo, !1 = $bar, !2 = $wom, !3 = $bat
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'Variable%21%0A'
    4     1        ASSIGN                                                   !1, 'foo'
    5     2        ASSIGN                                                   !2, 'bar'
    6     3        ASSIGN                                                   !3, 'wom'
    7     4        FETCH_R                      local               ~8      !3
          5        ECHO                                                     ~8
    8     6      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.52 ms | 1392 KiB | 13 Q