3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $m = []; $GLOBALS = array_diff_key($GLOBALS, ['m'=>null]); var_dump($GLOBALS, $m);
Finding entry points
Branch analysis from position: 0
Jump found. 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        FETCH_W                      global              $2      'GLOBALS'
         2        INIT_FCALL                                               'array_diff_key'
         3        FETCH_R                      global              $3      'GLOBALS'
         4        SEND_VAR                                                 $3
         5        SEND_VAL                                                 <array>
         6        DO_ICALL                                         $4      
         7        ASSIGN                                                   $2, $4
   4     8        INIT_FCALL                                               'var_dump'
         9        FETCH_R                      global              $6      'GLOBALS'
        10        SEND_VAR                                                 $6
        11        SEND_VAR                                                 !0
        12        DO_ICALL                                                 
        13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.1.0