3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
205.45 ms | 1394 KiB | 15 Q