3v4l.org

run code in 300+ PHP versions simultaneously
<?php $var = "my.stuff"; $$var = "bla bla"; echo "$$var is set to " . $$var; var_dump(get_defined_variables());
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/lccOv
function name:  (null)
number of ops:  15
compiled vars:  !0 = $var
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'my.stuff'
    4     1        FETCH_W                      local               $2      !0
          2        ASSIGN                                                   $2, 'bla+bla'
    5     3        ROPE_INIT                                     3  ~5      '%24'
          4        ROPE_ADD                                      1  ~5      ~5, !0
          5        ROPE_END                                      2  ~4      ~5, '+is+set+to+'
          6        FETCH_R                      local               ~7      !0
          7        CONCAT                                           ~8      ~4, ~7
          8        ECHO                                                     ~8
    6     9        INIT_FCALL                                               'var_dump'
         10        INIT_FCALL_BY_NAME                                       'get_defined_variables'
         11        DO_FCALL                                      0  $9      
         12        SEND_VAR                                                 $9
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.66 ms | 1385 KiB | 15 Q