3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.56 ms | 1393 KiB | 13 Q