3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = []; $array['a'] =& $array['b']; $array['b'] = 1; var_dump($array);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/TiMHY
function name:  (null)
number of ops:  11
compiled vars:  !0 = $array
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   3     0  E >   QM_ASSIGN                                                !0
   4     1        FETCH_DIM_W                                      $3      !0, 'b'
         2        DECLARE_INHERITED_CLASS                          $4      $3
         3        FETCH_DIM_W                                      $2      !0, 'a'
         4        ASSIGN_CONCAT                                 0          $2, $4
   5     5        ASSIGN_ADD                                    0          !0, 'b'
         6        OP_DATA                                                  1
   7     7        INIT_FCALL                                               'var_dump'
         8        SEND_VAR                                                 !0
         9        DO_ICALL                                                 
        10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
27.82 ms | 886 KiB | 7 Q