3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.57 ms | 941 KiB | 16 Q