3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.88 ms | 1392 KiB | 13 Q