3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
173.7 ms | 1398 KiB | 15 Q