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/anKpL
function name:  (null)
number of ops:  7
compiled vars:  !0 = $arr
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        ASSIGN                                                   !0, 56
    4     2        ASSIGN_DIM                                               !0, 'x'
          3        OP_DATA                                                  42
    5     4        UNSET_DIM                                                !0, 5
    6     5        UNSET_CV                                                 !0
    7     6      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
172.03 ms | 1396 KiB | 13 Q