3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = ['a', 'b']; list(,$c) = $a; [,$d] = [,$e] = $a; var_dump($c, $d, $e);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/NqBEI
function name:  (null)
number of ops:  17
compiled vars:  !0 = $a, !1 = $c, !2 = $e, !3 = $d
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, 1
          3        ASSIGN                                                   !1, $6
          4        FREE                                                     ~5
    5     5        QM_ASSIGN                                        ~8      !0
          6        FETCH_LIST_R                                     $9      ~8, 1
          7        ASSIGN                                                   !2, $9
          8        FETCH_LIST_R                                     $11     ~8, 1
          9        ASSIGN                                                   !3, $11
         10        FREE                                                     ~8
    7    11        INIT_FCALL                                               'var_dump'
         12        SEND_VAR                                                 !1
         13        SEND_VAR                                                 !3
         14        SEND_VAR                                                 !2
         15        DO_ICALL                                                 
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.15 ms | 1394 KiB | 15 Q