3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.52 ms | 1394 KiB | 15 Q