3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.83 ms | 1394 KiB | 17 Q