3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
136.58 ms | 993 KiB | 13 Q