3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.79 ms | 1392 KiB | 13 Q