3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test = 11; $$test = 12; $testy = $$test; var_dump($test, $$test, $testy);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/J2VXF
function name:  (null)
number of ops:  12
compiled vars:  !0 = $test, !1 = $testy
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 11
    3     1        FETCH_W                      local               $3      !0
          2        ASSIGN                                                   $3, 12
    4     3        FETCH_R                      local               ~5      !0
          4        ASSIGN                                                   !1, ~5
    5     5        INIT_FCALL                                               'var_dump'
          6        SEND_VAR                                                 !0
          7        FETCH_R                      local               ~7      !0
          8        SEND_VAL                                                 ~7
          9        SEND_VAR                                                 !1
         10        DO_ICALL                                                 
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.09 ms | 1394 KiB | 15 Q