3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = array(5=>1, 12=>2); $arr[] = 56; var_dump($arr); $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/iGCVI
function name:  (null)
number of ops:  11
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        INIT_FCALL                                               'var_dump'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                                 
    5     6        ASSIGN_DIM                                               !0, 'x'
          7        OP_DATA                                                  42
    6     8        UNSET_DIM                                                !0, 5
    7     9        UNSET_CV                                                 !0
    8    10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.07 ms | 1394 KiB | 15 Q