3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = array(); $arr['a'] = array(); $arr['b'] = array(); $a = &$arr['a']; $b = $arr['b']; $a['1'] = 999; $b['1'] = 111; print_r($arr);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/q4H10
function name:  (null)
number of ops:  17
compiled vars:  !0 = $arr, !1 = $a, !2 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    5     1        ASSIGN_DIM                                               !0, 'a'
          2        OP_DATA                                                  <array>
    6     3        ASSIGN_DIM                                               !0, 'b'
          4        OP_DATA                                                  <array>
    8     5        FETCH_DIM_W                                      $6      !0, 'a'
          6        ASSIGN_REF                                               !1, $6
    9     7        FETCH_DIM_R                                      ~8      !0, 'b'
          8        ASSIGN                                                   !2, ~8
   11     9        ASSIGN_DIM                                               !1, 1
         10        OP_DATA                                                  999
   12    11        ASSIGN_DIM                                               !2, 1
         12        OP_DATA                                                  111
   14    13        INIT_FCALL                                               'print_r'
         14        SEND_VAR                                                 !0
         15        DO_ICALL                                                 
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
174.28 ms | 1394 KiB | 15 Q