3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.34 ms | 1392 KiB | 13 Q