3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.65 ms | 938 KiB | 14 Q