3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.72 ms | 1397 KiB | 13 Q