3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.14 ms | 1394 KiB | 15 Q