3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.61 ms | 1393 KiB | 13 Q