3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = [1,2]; list(&$x, &$y) = $a;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/M0Rrb
function name:  (null)
number of ops:  10
compiled vars:  !0 = $a, !1 = $x, !2 = $y
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        MAKE_REF                                         $4      !0
          2        FETCH_LIST_W                                     $5      $4, 0
          3        MAKE_REF                                         $6      $5
          4        ASSIGN_REF                                               !1, $6
          5        FETCH_LIST_W                                     $7      $4, 1
          6        MAKE_REF                                         $8      $7
          7        ASSIGN_REF                                               !2, $8
          8        FREE                                                     $4
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.22 ms | 1396 KiB | 13 Q