3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
178 ms | 1394 KiB | 15 Q