3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = array(); $arr[] = 1; $arr[] = 22; unset($arr[1]); $arr[] = 34; $arr[] = 89; echo $arr[2];
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/JCWEK
function name:  (null)
number of ops:  13
compiled vars:  !0 = $arr
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        ASSIGN_DIM                                               !0
          2        OP_DATA                                                  1
    5     3        ASSIGN_DIM                                               !0
          4        OP_DATA                                                  22
    6     5        UNSET_DIM                                                !0, 1
    7     6        ASSIGN_DIM                                               !0
          7        OP_DATA                                                  34
    8     8        ASSIGN_DIM                                               !0
          9        OP_DATA                                                  89
   10    10        FETCH_DIM_R                                      ~6      !0, 2
         11        ECHO                                                     ~6
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
174.91 ms | 1384 KiB | 13 Q