3v4l.org

run code in 300+ PHP versions simultaneously
<?php $m = 'foo'; $GLOBALS = []; var_dump($m);//foo unset($GLOBALS['m']); var_dump($m);//notice (undefined) //$GLOBALS = array_diff_key($GLOBALS, ['m'=>null]);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/1oB48
function name:  (null)
number of ops:  12
compiled vars:  !0 = $m
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'foo'
    3     1        FETCH_W                      global              $2      'GLOBALS'
          2        ASSIGN                                                   $2, <array>
    4     3        INIT_FCALL                                               'var_dump'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                                 
    5     6        FETCH_UNSET                                      $5      'GLOBALS'
          7        UNSET_DIM                                                $5, 'm'
    6     8        INIT_FCALL                                               'var_dump'
          9        SEND_VAR                                                 !0
         10        DO_ICALL                                                 
    7    11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.95 ms | 1394 KiB | 15 Q