3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.77 ms | 1394 KiB | 15 Q