3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.44 ms | 1394 KiB | 17 Q