3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.26 ms | 1394 KiB | 17 Q