3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.99 ms | 1446 KiB | 13 Q