3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.48 ms | 1384 KiB | 13 Q