3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.24 ms | 1394 KiB | 19 Q