3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.31 ms | 1394 KiB | 19 Q