3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.33 ms | 1394 KiB | 15 Q