3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.12 ms | 1385 KiB | 15 Q