3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
135.25 ms | 996 KiB | 14 Q